[oXygen-user] Why is Oxygen showing my files in Chinese?

George Bina george at oxygenxml.com
Tue Jun 1 07:53:10 CDT 2021


Dear Roger,

When you open a file in Oxygen the bytes representing that file content 
will be translated to characters using a character encoding. For XML 
files there is a detection process described by the XML spec. For other 
type of files the rule is to always use UTF-8. For generic text files 
there is no encoding information available, so Oxygen provides a default 
(UTF-8) and exposes that as an option that the user can set, see 
Options->Preferences -- Encoding -- "Fallback character encoding" and 
also the corresponding user guide topic:

https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topic/preferences-encoding.html

The first thing to do is to check what value you have for this option in 
your Oxygen installation, to understand what encoding is used to read 
the content of that text file. That should ideally match the encoding 
you used to create the file.
You may also attach that sample file to a reply, to allow us to better 
understand what content has the file what you want to open.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 6/1/21 3:11 PM, Roger L Costello wrote:
> Hi Folks,
> 
> I created a Hello, world text file using Notepad.
> 
> Then I dragged and dropped the file into Oxygen.
> 
> Oxygen displays the text in Chinese (I think). See screenshot below.
> 
> How do I fix this?  /Roger
> 
> 
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
> 


More information about the oXygen-user mailing list