When opening a Chinese Traditional text file with Writer on LO 126.96.36.199 Linux, the characters don’t display correctly, even if I ‘select all’ and change the font to a Chinese font such as SimSun or SimHei.
The file opens correctly in GEdit and Chinese text displays, using the system default font ‘Monospace’, which is DejaVu Sans Mono.
Initially I thought that this was because Chinese fonts were not correctly installed. But the following happens too:
If I copy and paste all the text from Gedit into a Writer document, Chinese characters do display correctly, apparently in ‘Times New Roman’.
If the text file is imported into a Calc spreadsheet, the ‘encoding’ is recognised as ‘Unicode’, and the characters do display correctly.
Asian language options are selected in Tools, Options, Language Settings. However, this doesn’t seem to matter- on LO 4.0.2 with Windows, the file can be opened and displayed with Writer even though these are not selected! So this seems to be related to LO configuration on Linux.
A sample file is attached. It is a .zip file (to preserve the original file), but I had to give it a fake .jpg extension name, as .zip is not an allowed extension type!
New sample (original unedited file as received is attached
$ file Full\ sample\ Chinese.txt
Full sample Chinese.txt: Little-endian UTF-16 Unicode text, with CRLF, CR line terminator