Japanese

Description

An xliff file is opened in Ocleot, changes made, file saved,the file and Ocelot closed. OpenOcelot again. It is not possibel to open the saved file. I cannot replicate this on my own computer, but was able to replicate this on a Chinese operating system.

Environment

None

Activity

Show:
Olga OLaoghaire
October 19, 2016, 2:45 PM

The issue was reported by the Japanese linguists when editing a file MT-ed into Japanese.
I was not able to reproduce it on my machine which has EN OS. I had access to a machine with a Chinese OS and was able to replicate the issue there. I think the issue can be replicated on any Windows machine with an OS in a double-byte language, but this hypothesis is unconfirmed.

Aaron Madlon-Kay
October 20, 2016, 2:50 PM

I tested on Windows 10 with the Chinese language pack installed and the "Language for non-Unicode programs" set to "Chinese (Simplified, China)". I believe this recreates the essential properties of Chinese variants of earlier versions of Windows. For instance the value of java.nio.charset.Charset.defaultCharset() is "GBK".

In this environment I was unable to reproduce the issue.

Please provide more information:

  • What was the exact OS used? (Windows 7, Windows 8, Windows 10, etc.)

  • Provide the input file and the un-openable file if possible

  • Otherwise please indicate:

    • What is the input file's encoding?

    • What errors are shown in the console?

    • What input is added to the modified file?

Olga OLaoghaire
October 21, 2016, 12:55 PM

The system on which I was able to replicate the issue was Chinese Windows 7. It si not availbel to me now and I will not be able to get it or Japanese OS in the next 2 weeks.
I have made sure that the file necoding was UTF-8, but that did not help. I will try to add the files you have requested shortly.

Olga OLaoghaire
October 21, 2016, 1:08 PM

Two files are attached.

Kidn regards
Olga

Aaron Madlon-Kay
October 23, 2016, 8:04 AM
Edited

I was unable to reproduce this on Windows 7 with the Simplified Chinese language pack and non-Unicode-program language set to Simplified Chinese.

The "doesn't open" file appears to be completely valid. Is there any chance that this was a case of Windows mistakenly believing a file to be "in use" when it really wasn't? If that was the case then I don't think there's anything we can do about it in Ocelot.

Does the file fail to open even after a restart of the system?

Assignee

Aaron Madlon-Kay

Reporter

Olga OLaoghaire

Labels

None

Priority

Major