[Github-comments] [geany/geany] fails to open Microsoft UTF-16LE file (MSO Word CUSTOM.DIC dictionary file) (#1238)

Colomban Wendling notifications at xxxxx
Mon Sep 19 18:19:48 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160919/0a771e78/attachment.html>


More information about the Github-comments mailing list