Community
    • Login

    See Hex value of character at cursor

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.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.
    • Rob McDonellR
      Rob McDonell
      last edited by

      Would it be possible to show the Hex value of the character currently under the cursor in the status bar at the bottom?

      It’s the one feature I sorely miss when I changed from PSPad to Notepad++.

      The only way I can currently find to see the hex value is to actually convert the text file to Hex. But I don’t really want to convert anything, I just want to be able to see precisely what the Hex value of a single character is.

      Thanks for all your hard work on this excellent program.

      –Rob.

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by

        Hello, @rob-mcdonell and All,

        You could use the @Peterjones’s Python script, provided in this post :

        https://community.notepad-plus-plus.org/post/44448

        Each time this Python script is called, it displays, in the leftmost zone of the status bar, the character currently at the right of the caret/cursor, of the current file, even in case of a selection, as well as its Unicode code-point, both in hexadecimal and decimal values !

        • It works with any Unicode character, even for those with code-point over the BMP ( Basic Multilingual Plane )

        • To get the default language name again, just switch to an other tab and switch back


        You may prefer my version with a slightly different layout, here :

        https://community.notepad-plus-plus.org/post/44514

        Or this other version, of @alan-kilborn, with a possible replacement of the aimed character :

        https://community.notepad-plus-plus.org/post/56576

        Best Regards,

        guy038

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