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