• Login
Community
  • Login

Single quote character

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 715 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.
  • I
    Ian Whyte
    last edited by Aug 4, 2021, 8:38 AM

    Ever since I used Notepad++ to edit a file the other day the single quote character I get within VB6, and even in here, is now ` (not ’ ). I’ve searched the registry and online for clues to no avail . How can I get ’ back as I need it for the VB6 comment character?

    1 Reply Last reply Reply Quote 0
    • S
      Stefan Pendl
      last edited by Aug 4, 2021, 9:24 AM

      This might be due to the usage of a different font. Mono spaced fonts should always display the comment character as '.
      ´ and ` are not '.

      1 Reply Last reply Reply Quote 0
      • I
        Ian Whyte
        last edited by Aug 4, 2021, 10:14 AM

        I have never changed the font in Notepad++ or in Windows, so if this is the cause then it must have been done by the last update of Notepad++.

        I have tried a couple of fonts in Windows 10 Settings (Courier New and Ariel) but I still get the same character.

        How do I change the font in Notepad++?

        P 1 Reply Last reply Aug 4, 2021, 1:48 PM Reply Quote 0
        • I
          Ian Whyte
          last edited by Aug 4, 2021, 12:46 PM

          Traced to a dodgy keyboard - a couple of keys were giving out the wrong characters. The Notepad document change must have happened at the same time.

          1 Reply Last reply Reply Quote 1
          • P
            PeterJones @Ian Whyte
            last edited by Aug 4, 2021, 1:48 PM

            @Ian-Whyte said in Single quote character:

            How do I change the font in Notepad++?

            Settings > Style Configurator > Global Styles > Default Style > Font
            (see style configurator documentation )

            And as you discovered, it’s not likely a font issue: I have never seen a font where ASCII 39 single-quote ' is rendered the same as ASCII 96 back-tick/grave-accent ` and as Stefan said is also different from the Unicode U+00B4 acute accent ´. (And none of these should not be confused with the ‘smart single-quote’ characters ‘ and ’ which this forum will convert unprotected single-quotes into if you’re not careful). But in Notepad++, if you keyboard is set up as normal, and you don’t have Windows configured to map that key to a different character, then typing a single-quote-key on your keyboard should give you ' in Notepad++.

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