pound character is using double byte C2A3 instead of single byte A3
-
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 -
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 -
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 -
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
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