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

Roger L Costello costello at mitre.org
Tue Jun 1 08:04:52 CDT 2021


Hi George,



  *   the user can set,  Options->Preferences -- Encoding -- "Fallback character encoding"



I checked and it is set to Unicode:



[cid:image001.png at 01D756C4.D2076E00]



  *   the corresponding user guide topic:
  *   https://www.oxygenxml.com/doc/versions/23.1/ug-editor/topic/preferences-encoding.html



That link is no longer valid:



[cid:image002.png at 01D756C5.2D96E9D0]



  *   You may also attach that sample file to a reply



Thank you George – see attached.



/Roger







-----Original Message-----
From: oXygen-user <oxygen-user-bounces at oxygenxml.com> On Behalf Of George Bina
Sent: Tuesday, June 1, 2021 8:53 AM
To: oxygen-user at oxygenxml.com
Subject: [EXT] Re: [oXygen-user] Why is Oxygen showing my files in Chinese?



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<mailto:oXygen-user at oxygenxml.com>

> https://www.oxygenxml.com/mailman/listinfo/oxygen-user

>

_______________________________________________

oXygen-user mailing list

oXygen-user at oxygenxml.com<mailto:oXygen-user at oxygenxml.com>

https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210601/04391d29/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 189197 bytes
Desc: image001.png
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210601/04391d29/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 201161 bytes
Desc: image002.png
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210601/04391d29/attachment-0003.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: helloworld.txt
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20210601/04391d29/attachment-0001.txt>


More information about the oXygen-user mailing list