Community
    • Login

    Missing Unicode Characters in Notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 3.3k 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.
    • Tina BicenoT
      Tina Biceno
      last edited by

      Hello,

      A few Unicode characters are not being shown in Notepad++. The following image is as is shown in Visual Studio 2007

      In Visual Studio:
      Alt text

      The same when pasted in Notepad++:
      Alt text

      This is what is show in the browser:

      static const char sc_helloWorld[] = “happy\t\t 😃😄😅😆😊😎😇😈😋😏😌😁😀😂🤣🤠🤡🤑🤩🤪\n”
      “flirting\t\t 😳😉😗😚😘😙😍🤤🤗😛😜😝”
      “\nneutral\t\t 😶🙃😐😑🤔🙄😮😔😖😕🤨🤯🤭🧐”
      “\nhush\t\t 🤫😯🤐😷”
      “\ntired\t\t 😩😫😪😴😵”
      “\nsad\t\t ☹😦😢😭🤒🤕🤮”
      “\nangry\t\t 😒😠😡😤😣😧🤢🤬”
      “\nfear\t\t 😬😓😰😱😲😞😥😟😨”
      “\nmisc\t\t 🤥🤓🤖”
      “\ncat faces\t\t 😸😹😺😻😼😽😾😿🙀🙈🙉🙊”
      “\ngesture\t\t 🤦🤷🙅🙆🙋🙌🙍🙎🙇🙏🤳”
      “\nbaby, child, adult\t 👶🧒👦👩👨👧🧔🧑🧓👴👵”
      “\nfamily\t\t 👤👥👪👫👬👭”
      “\ncultural icons\t 👲👳🧕👱”
      “\nprofession\t 🤴👸👯👰🤰🤵🎅🤶👮👷💁💂🕴🕵”
      “\nactivity\t\t 💃🕺💆💇💈🤱🧖🧘”
      “\n fantasy\t\t 👼👻🧙🧚🧛🧜🧝🧞🧟👿💀☠🕱🕲👽👾🛸👹👺”;

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS
        Scott Sumner @Tina Biceno
        last edited by

        @Tina-Biceno

        Are you using the same font setting in Notepad++ as you are in VS?

        Tina BicenoT 1 Reply Last reply Reply Quote 4
        • Tina BicenoT
          Tina Biceno @Scott Sumner
          last edited by Tina Biceno

          @Scott-Sumner

          Nice point. Actually VS 2017 was in Consolas and Notepad++ in Courier New.
          However, if I set Notepad++ to Segoe UI Emoji I can see all the characters (I had not checked that previously).
          What happens with VS 2017 is that all characters are seen in every font.

          Although Segoe UI Emoji is not a great font for programming, is better than nothing and I don’t need to deal with emojis every day.

          Thank you.

          1 Reply Last reply Reply Quote 1
          • PeterJonesP
            PeterJones
            last edited by

            Sites like fileformat.info will often give font lists for a given emoji. For example, U+1F431 CAT FACE’s page links to a fontsupport page for that character – and it doesn’t list Consolas, so I’m not sure whether that page is just out of date, or whether Consolas doesn’t include it, and VS 2017 is using some fallback mechanism.

            As discussed a few months back, Windows has a font-fallback mechanism for its builtin apps (like notepad.exe) and I know MS Word and similar also will automatically change the font if you try a glyph not available in the current font (actually, with Word, it sometimes changes the font even when the glyph is available, from what I remember). Given that Visual Studio is also a Microsoft product, there’s a reasonable possibility* that they “cheat”, and use the fallback fonts when the default font you have in VS doesn’t include a glyph for a given character/emoji.

            *: I don’t use Visual Studio, so I don’t know for sure.

            Tina BicenoT 1 Reply Last reply Reply Quote 4
            • Tina BicenoT
              Tina Biceno @PeterJones
              last edited by Tina Biceno

              @PeterJones

              Notepad behaves like Notepad++, only shows the omitted characters on the Segoe UI Emoji font. However, VS 2017 definitely cheats. It always shows all characters for any font I select. However, the font really changes, only the special characters appear to be always the same. Having all characters available is useful for programming, I should say

              1 Reply Last reply Reply Quote 2
              • Nouman AliN
                Nouman Ali
                last edited by

                Are you using the old version of Notepad++ as you are in VS? Please use the latest version.

                Regards
                Ronchi

                1 Reply Last reply Reply Quote 0
                • Tina BicenoT
                  Tina Biceno
                  last edited by

                  I am using the latest Notepad++. I use VS 2017 for C/C++, notepad++ for multiple things.

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