diff files encoding problem

Oxygen general issues.
GAHeath
Posts: 2
Joined: Fri Dec 05, 2014 3:04 pm

diff files encoding problem

Post 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?
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: diff files encoding problem

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
GAHeath
Posts: 2
Joined: Fri Dec 05, 2014 3:04 pm

Re: diff files encoding problem

Post by GAHeath »

Oxygen version 16
The files are .resx and yes associating the .resx as xml did the trick.

Many thanks
Post Reply