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

elextr notifications at xxxxx
Mon Sep 19 06:08:11 UTC 2016


>  even a bad rendering of a file (with my "bad" encoding choices") would be better than Geany completely FAILING to open the file at all!

The Geany buffer is UTF-8, so Geany will not open the file if the conversion fails or the result does not validate as UTF-8 since it would risk undefined behaviour.  Any error from the conversion is shown in `menu->help->debug messages`.

> Geany should have an option to "preserve BOM character" (in fact, should do this automatically),

The bom is removed from the buffer as it is undisplayable and saved to be put back when the buffer is saved as a file.

> should also have an option to "load file with my chosen encoding and filetype, even if Geany detects something not quite right"!!

As noted above that would risk undefined behaviour if the result was not valid UTF-8.

> Don't treat all users as stupid idiots! It makes your software look like a self conceited prig.

It is understandable that you are unhappy, but Geany is developed by volunteers, they do not have to help you, and being rude gives them no incentive to do so.

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


More information about the Github-comments mailing list