https://bugs.documentfoundation.org/show_bug.cgi?id=172084

--- Comment #12 from Ujjawal Kumar <[email protected]> ---
See for the second patch. It will solve the problem. That's what the ASCII
filter uses and I have tested the given reproducer with text files with both of
the utf16 endianess version. Even that results in gibberish opening of the file
when the bom is absent in the file. That's why we are skipping the detection in
the ASCII filter as we know for the fact that the encoding will be correct.
When we open the text files we eventually do the detection and that produces
gibberish when detection small CTL text files with no bom info.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to