SOLVED? [11.0b4] Changed character on save

Post bug reports when testing beta versions here.
Post Reply
Sid
Posts: 8
Joined: 12 Feb 2016 10:38

SOLVED? [11.0b4] Changed character on save

Post 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.
Attachments
BUG_0.3.PNG
BUG_0.3.PNG (23.84 KiB) Viewed 6928 times
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: [11.0b4] Changed character on save

Post 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.
Post Reply