Community
    • Login

    Display of unicode characters depends on characters around it

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 2.4k 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.
    • Mimo SmilesM
      Mimo Smiles
      last edited by

      I’m not sure who to throw this issue at, but how unicode characters are displayed can depend on the characters around it in Notepad++. The following screenshot probably explains it best.

      The display of the entire block or list of characters in non of these six examples is exactly the same.

      Also, if you copy and paste example 4 onto a new line and you start deleting characters from the start of the line, you can see characters, even several positions to the right of the start, pop in and out of getting substituted by the “character unknown” character (a square with a question mark).

      1 Reply Last reply Reply Quote 0
      • gstaviG
        gstavi
        last edited by

        Very interesting.
        Did you report it at the issue board?
        Make the demo file available.
        Does it work better on older versions?
        If you can test old versions and pin point a version where it broke it would probably help a developer take it from there.

        It may be a Scintilla issue. I tried showing these symbols in SciTE under Linux (version 3.3.5) and it took some effort to make it show these symbols correctly. The key property I needed to modify was:
        code.page=65001
        Not sure what exactly does it mean.

        Mimo SmilesM 1 Reply Last reply Reply Quote 0
        • Charlie HowardC
          Charlie Howard
          last edited by

          I’ve had this exact problem for months. If a displayable Unicode character is added to a line containing undisplayed Unicode characters, those “undisplayed” ones suddenly appear. Removing the “good” one makes the others revert to the hollow square. A simple example:

          ☆◬⊗⊠⋆⧆⨂

          Paste that line into NP++ and you will see all the characters. Remove the leading star ☆ and the others become squares. Restore the star and the others re-appear.

          1 Reply Last reply Reply Quote 0
          • Mimo SmilesM
            Mimo Smiles @gstavi
            last edited by

            @gstavi said:

            Did you report it at the issue board?

            A bit late, but I have now: Issue #3749

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