https://bugs.freedesktop.org/show_bug.cgi?id=63673

          Priority: medium
            Bug ID: 63673
          Assignee: [email protected]
           Summary: FILEOPEN: Unicode text encodings not auto-recognised
                    in LO4.0.2 Linux (OK in Windows version?)
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.2.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 78171
  --> https://bugs.freedesktop.org/attachment.cgi?id=78171&action=edit
Sample UTF_16le Chinese text file

Problem description:
When opening a Unicode text file encoded UTF-16LE, the character encoding
denoted by the 'Byte Order Mark' does not seem to be recognised correctly on LO
Linux. However, on the same version on Windows Platform, encoding is
recognised. 

Steps to reproduce:
1. Open attached sample UTF-16le text file using Writer in LO4.0.2 Linux. Use
the default 'all files' filter. The file encoding is not correctly recognised
(garbage characters shown).
2. Open attached sample text file using Writer, but preselect the 'Text
Encoded' filter first. Select 'Unicode' as encoding and 'CR+LF' as line
separator. Characters shown correctly.
3. If opening the file in Calc, the encoding is correctly detected as Unicode.
4. If opening the file in Writer 4.0.2 on Windows, encoding is correctly
detected and file displays correctly.

The first two bytes of the attached file are the UTF-16le 'byte order mark'
<FF> <FE>. But it seems LO4.0.2 Writer on Linux doesn't recognise these
automatically.

'Language Settings' in preferences don't seem to make any difference.





Operating System: Linux (Other)
Version: 4.0.2.2 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to