• Login
Community
  • Login

How to enter character codes?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
alt+ codeunicode input
4 Posts 2 Posters 14.9k 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
    Thempleton Aart
    last edited by Apr 13, 2016, 8:04 AM

    I’m using NPP from a while on a british localized Win10, and often I’m called to write some text with cyrillic characters. The way I’m used to do this on other Windows apps (e.g. Office, Wordpad etc.) is by writing the hex code followed by the <ALT+X> keys combination. This works for characters starting up from code 100h. All characters below that value can be obtained by the <ALT+decimal code> keys combination (coherence is not one of Microsoft’s strengths).
    How to do this on NPP?
    I’m aware of the existence of the Character-Table app but, for some reasons (too long to explain here), I’m not willing to use it. And frankly, this is a compromise NPP doesn’t deserve. ;-)
    BTW, the default font I’ve set is “Times New Roman”.

    Thank you guys for the nice work you are doing with NPP.

    C 1 Reply Last reply Apr 13, 2016, 9:37 PM Reply Quote 0
    • C
      Claudia Frank @Thempleton Aart
      last edited by Apr 13, 2016, 9:37 PM

      Hello @Thempleton-Aart,

      npp doesn’t support it natively but

      you can create an registry entry (REG_SZ) EnableHexNumpad with value = 1
      under HKEY_CURRENT_USER\Control Panel\Input Method\ then you are able
      to use ALT+(plus sign on numpad) and value to insert the unicode chars.
      Note, you need to logoff/logon to make it work.

      Or define another keyboard layout and switch the layout when needed.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 2
      • T
        Thempleton Aart
        last edited by Jun 17, 2016, 9:56 AM

        Hello @Claudia Frank,

        sorry for the long time passed to reply.
        Thank you for your kind suggestions.
        Both tweaks work as expected in Windows 10.
        However I hope that developers will add support to npp for this.
        I’m a translator and a software programmer and I’m often called to write localizations.

        Have a nice day

        Thempleton Aart

        C 1 Reply Last reply Jun 17, 2016, 10:11 PM Reply Quote 0
        • C
          Claudia Frank @Thempleton Aart
          last edited by Jun 17, 2016, 10:11 PM

          @Thempleton-Aart

          Thank you :-)

          Cheers
          Claudia

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