Community
    • Login

    pound character is using double byte C2A3 instead of single byte A3

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 3.7k Views 2 Watching
    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.
    • Harishkumar PathangayH Offline
      Harishkumar Pathangay
      last edited by

      hi,
      I am trying to create ISO8859-1 encoded file with letter pound sign and yen sign.
      Issue is, if I look in HEX Edoitor Plugin, it is saving X’C2A3’ and X’C2A5’ instead of simply X’A3’ and X’A5’ in Hex Editor.
      Should it not use Single Byte? instead of Double Byte values?

      Thanks,
      Harish Pathangay

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Harishkumar Pathangay
        last edited by

        @Harishkumar-Pathangay

        you are correct - it should be a3 and a5. The c2a3 is the utf-8 version.
        I assume it happens in the view only and not in the file itself.
        Did you check this?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Harishkumar PathangayH Offline
          Harishkumar Pathangay
          last edited by

          Hi,
          Yes. You are correct. It is in view as HEX Editor only displaying as Unicode.
          After saving it is correctly displaying as A3 only. In HEX Editor Mode, why it is converting to Unicode? It kind of confuses me.
          Thanks,
          Harish Pathangay

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Harishkumar Pathangay
            last edited by

            @Harishkumar-Pathangay

            In HEX Editor Mode, why it is converting to Unicode?

            this plugin was written back in 2009 and at this time npp didn’t support
            encodings like today, only the standard ansi, utf-8 … were available.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors