Reading the Wikipedia articles make me wonder about so-called "WTF-8", so I 
played with it and wrote that: https://github.com/b4n/wtf8tools

Converting the file here to WTF-8 makes Geany able to open it just fine (like 
SciTE does), and it's convertible back to the original UTF-16.
I'm not sure why we accept invalid UTF-8 (well, it's structurally valid, but 
contains reserved code points), but probably because the tools we use are happy 
so long as it's structurally valid or something.  Or we don't use the same 
thing for UTF-8 (GLib) than UTF-16 (iconv through GLib), and GLib is more 
forgiving.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1238#issuecomment-248076516

Reply via email to