Version: Latest CVS version (using KDE KDE 3.3.2) Installed from: Mandriva RPMs Each time I save KTurtle programs, all non-ASCII characters get mangled. Example: I write: gåtil 20, 20 When I save, I (immediately) get: gÃ¥til 20, 20 When I save this, these characters get mangled too. Note that 'gÃ¥til' is the byte sequence of a UTF-8 encoded 'gåtil' interpreted as a ISO-8859-1 byte sequence. The strange thing is that when I look at the resulting file, it looks like it's actually saved in UTF-8 (it's a valid UTF-8 file, with valid UTF-8 byte sequences), but the wrong characters are saved. The characters corresponding to the UTF-8 byte sequence of the correct characters, but interpreted as ISO-8859-1, is stored as UTF-8. In other words, it's converted two UTF-8 twice: Original string: the charater å Gets converted to: the UTF-8 byte sequence for å (two bytes) (Now it should be saved directly to disc. But instead:) It gets interpreted as ISO-8859-1: Ã¥ (two characters) And finally saved as UTF-8: two characters, four bytes, valid UTF-8 My settings say UTF-8. And everything here is set to UTF-8 (locale, filesystem, editors), so I have no idea where the ISO-8859-1 stuff comes from. I guess that the fileformat should always use UTF-8, regardless of the user's settings (locale, filesystem). Indeed, that's the only way things can work! (The example files use UTF-8, but the locale encoding of the users may vary.)
*** This bug has been marked as a duplicate of 82462 ***