Community
    • Login

    Replace unknown character

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 563 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Focuscar A.F
      Focuscar A.
      last edited by Focuscar A.

      Hi, does anyone know how to replace/remove this double-spaced-dot character?

      A single dot is a space, but this one is a double-spaced-one. Does someone know what this character is?

      Thx

      Screenshot (10).png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Focuscar A.
        last edited by

        @focuscar-a ,

        Are you sure there’s really only two characters (space and weird)? I would think there are three: space, weird, and another normal space. (Might be as simple as a non-breaking space between; might be one of the more complicated invisible characters.)

        But either way, you can just select and copy the character(s) and paste them into the FIND/REPLACE dialog.

        Or maybe you’ve got a plugin that’s doing unexpected thing to the visuals of spaces. Or maybe your font is not a monospace font, so it’s not giving equal width to every character.

        There are also PythonScript-based scripts that have been published on the forum that can give a “representation” (similar to the CR and LF boxes) to the invisible characters – searching for zwnj should get you those; or my GetUniChar.py which will use the statusbar to show you the unicode codepoint for the char to the right of the cursor.

        1 Reply Last reply Reply Quote 2
        • Robert CarnegieR
          Robert Carnegie
          last edited by

          Shooting from the hip, isn’t that tab marks?

          The “tab” code jumps the cursor forward to the next pre-set column alignment position. So if you type:
          a tab b
          cde tab fgh

          tab makes a space between a and b, and between e and f, but f is directly below b.

          Although in my plain text, tab looks like: —> (in red)

          You can search and replace tab, but the keyboard tab key actually moves the cursor to the next field in the search dialog box, so instead of typing it in - I think - you can copy a tab code to clipboard, and paste it in to one or another field. For instance, to replace two tabs with one tab.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @Robert Carnegie
            last edited by PeterJones

            @robert-carnegie said in Replace unknown character:

            Shooting from the hip, isn’t that tab marks?

            No, it isn’t. If View > Show Symbol > Show Whitespace and TAB or > Show All Characters is enabled (the latter is what it must be, because of the orange dots for the spaces that @Focuscar-A showed, along with the black CR and LF boxes at the end of line), then tabs use stretchy arrows in their display, as shown below.

            8d83b8bb-6005-4a55-a101-576281519891-image.png

            The dots in my screenshot are spaces, the arrows in my screenshot are tabs, and the long blank between the dots that @Focuscar-A showed is either another character or some weird spacing issue, not a tab.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors