Page 1 of 1

diff files encoding problem

Posted: Fri Jan 30, 2015 11:22 am
by GAHeath
I have several xml files which contain japanese characters.
The files are encoded in utf-8 and are readily transformed by Saxon without issue.
As soon as I try to use diff files on them it complains that characters do not fit into cp1252 and refuses to read them.
Any ideas?

Re: diff files encoding problem

Posted: Fri Jan 30, 2015 11:43 am
by adrian
Hello,

What version of Oxygen (or Diff) are you using?
What's the filename extension of the files involved? Is it '.xml' or something else?
If it's different than .xml, you can add it to Options > Preferences, File Types and associate it with the "XML Editor".

CP1252 (or CP1250) is the Windows platform encoding used by Diff/Oxygen as the default fallback encoding for non-XML files (if the files are not identified as XML).
You can change this fallback encoding from Options > Preferences, Encoding, Fallback character encoding. You can set it to 'UTF8'.

Regards,
Adrian

Re: diff files encoding problem

Posted: Fri Jan 30, 2015 10:21 pm
by GAHeath
Oxygen version 16
The files are .resx and yes associating the .resx as xml did the trick.

Many thanks