Page 1 of 1

SOLVED? [11.0b4] Changed character on save

Posted: 15 Feb 2016 09:21
by Sid
I saved a XML file with Europa Occidentale(ISO) format and I get this strange behaviour, the character ’ is replaced by ' for all the other editors ( notepad++, ultraedit, etc ) but for TextEd will remain the same.

You can see the picture made with Beyond Compare, on the left the original file, on the right the file saved by TextEd.

Re: [11.0b4] Changed character on save

Posted: 15 Feb 2016 12:00
by Rickard Johansson
It seems they use the Windows-1252 code page for saving and not code page 28591, Western European (ISO) or iso-8859-1. You can see the difference here http://string-functions.com/encodingtab ... oding=1252.

The character ’ is available in Windows-1252 code $92 (hex 92), but you can see that $92 is blank for iso-8859-1. Actually all characters between $80 - $A0 are blank.
Since all other characters are identical there is no harm in using the Windows 1252 code page instead of the Western European (ISO) code page.

I'll change it in the final version.