• Login
Community
  • Login

Default font for UTF-8

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 3.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.
  • D
    datatraveller1
    last edited by Nov 18, 2022, 2:39 PM

    I’m just wondering which font Notepad++ uses for UTF-8.
    I have found Settings - Style configurator - Language: Global Styles, Style: Global override, Font Style: Courier New but I don’t think Courier New is used for UTF-8?

    A P 2 Replies Last reply Nov 18, 2022, 2:47 PM Reply Quote 0
    • A
      Alan Kilborn @datatraveller1
      last edited by Nov 18, 2022, 2:47 PM

      @datatraveller1 said in Default font for UTF-8:

      but I don’t think Courier New is used for UTF-8?

      What makes you think that?
      In a virgin setup, it sure looks like Courier New to me.

      D 1 Reply Last reply Nov 18, 2022, 3:01 PM Reply Quote 0
      • P
        PeterJones @datatraveller1
        last edited by Nov 18, 2022, 3:00 PM

        @datatraveller1 said in Default font for UTF-8:

        Language: Global Styles, Style: Global override

        That isn’t the one you should be looking at, unless you enable global overrides without understanding things. This is not what sets the default font for normal text that is inherited by the other styles.

        You should be looking at Language: Global Styles, Style: Default Style

        This will be described better in the User Manual when it is next published.

        73dce734-8d9e-4891-8279-3f61a5d179ad-image.png

        D 1 Reply Last reply Nov 18, 2022, 3:04 PM Reply Quote 2
        • D
          datatraveller1 @Alan Kilborn
          last edited by Nov 18, 2022, 3:01 PM

          @Alan-Kilborn My doubt is that I’m not sure if Courier New can depict all Unicode characters like special emoji?

          P 1 Reply Last reply Nov 18, 2022, 3:06 PM Reply Quote 0
          • D
            datatraveller1 @PeterJones
            last edited by Nov 18, 2022, 3:04 PM

            @PeterJones Thank you, Peter!

            1 Reply Last reply Reply Quote 0
            • P
              PeterJones @datatraveller1
              last edited by PeterJones Nov 18, 2022, 3:07 PM Nov 18, 2022, 3:06 PM

              @datatraveller1

              My doubt is that I’m not sure if Courier New can depict all Unicode characters like special emoji?

              That’s one of the places where the Settings > Preferences > Misc > Use DirectWrite checkbox comes in handy. When that’s enabled, Microsoft is allowed to use its behind-the-scenes table to look up alternate fonts for specific glyphs, if the font you are using doesn’t have a glyph for a given character. (And anecdotally, sometimes MS seems to be able to do that even when DirectWrite isn’t enabled.)

              So yes, Notepad++ is still primarily using Courier New by default, as the Default Says it is, even if it’s showing you glyphs for characters not in Courier New.

              (And you can use charmap.exe to see which characters are in Courier New)

              But I tend to download DejaVu Sans Mono or other such truly-free fonts that have more characters available natively, and set those as the default font for Notepad++, so that DirectWrite doesn’t have to do as much work.

              D 1 Reply Last reply Nov 18, 2022, 3:17 PM Reply Quote 2
              • D
                datatraveller1 @PeterJones
                last edited by datatraveller1 Nov 18, 2022, 3:18 PM Nov 18, 2022, 3:17 PM

                @PeterJones Thank you again. Unfortunately, most times I still have to deal with ANSI files so Courier New is the best choice for me. For Unicode, I have personally had good experiences with Segoe UI.

                A 1 Reply Last reply Nov 18, 2022, 3:21 PM Reply Quote 0
                • A
                  Alan Kilborn @datatraveller1
                  last edited by Nov 18, 2022, 3:21 PM

                  @datatraveller1 @PeterJones

                  If we’re switching over to font recommendation, I like Fira Code Retina. :-)

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