• Login
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.
  • T
    Tina Biceno
    last edited by Oct 22, 2018, 6:19 AM

    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 👼👻🧙🧚🧛🧜🧝🧞🧟👿💀☠🕱🕲👽👾🛸👹👺”;

    S 1 Reply Last reply Oct 22, 2018, 12:18 PM Reply Quote 1
    • S
      Scott Sumner @Tina Biceno
      last edited by Oct 22, 2018, 12:18 PM

      @Tina-Biceno

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

      T 1 Reply Last reply Oct 22, 2018, 2:35 PM Reply Quote 4
      • T
        Tina Biceno @Scott Sumner
        last edited by Tina Biceno Oct 22, 2018, 2:36 PM Oct 22, 2018, 2:35 PM

        @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
        • P
          PeterJones
          last edited by Oct 22, 2018, 3:46 PM

          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.

          T 1 Reply Last reply Oct 23, 2018, 7:31 AM Reply Quote 4
          • T
            Tina Biceno @PeterJones
            last edited by Tina Biceno Oct 23, 2018, 7:34 AM Oct 23, 2018, 7:31 AM

            @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
            • N
              Nouman Ali
              last edited by Oct 23, 2018, 7:52 AM

              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
              • T
                Tina Biceno
                last edited by Oct 23, 2018, 12:41 PM

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

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