Prevent Oxygen software from automatically escaping for Chinese character
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Tue Mar 26, 2019 11:20 am
Prevent Oxygen software from automatically escaping for Chinese character
Hi,All
When insert a image into Oxygen, the software transfer the Chinese character in href attribute to unicode, how can I stop this automatic behavior?
When insert a image into Oxygen, the software transfer the Chinese character in href attribute to unicode, how can I stop this automatic behavior?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Prevent Oxygen software from automatically escaping for Chinese character
Hi,
As you also contacted us via email, I will add on the forum thread the answer I gave you via email.
That escaped encoding Oxygen automatically applies on the various resource references is perfectly equivalent to the original file naming. So although it looks ugly it should work.
The DITA 1.3 specification states something like:
https://www.oxygenxml.com/dita/1.3/spec ... ibute.html
https://www.ietf.org/rfc/rfc3986.txt
states something like:
In the meantime if you want I can try to build for you an Oxygen plugin which when such a reference is inserted in the editing area will have the reference characters preserved without that extra escaping.
Regards,
Radu
As you also contacted us via email, I will add on the forum thread the answer I gave you via email.
That escaped encoding Oxygen automatically applies on the various resource references is perfectly equivalent to the original file naming. So although it looks ugly it should work.
The DITA 1.3 specification states something like:
https://www.oxygenxml.com/dita/1.3/spec ... ibute.html
and the specification:The value of a DITA @href attribute must be a valid URI reference [RFC 3986]
https://www.ietf.org/rfc/rfc3986.txt
states something like:
I'm not 100% sure if Oxygen is doing the right thing in this instance, I will register an internal issue to look more into this.In local or regional contexts and with improving technology, users
might benefit from being able to use a wider range of characters;
such use is not defined by this specification. Percent-encoded
octets (Section 2.1) may be used within a URI to represent characters
outside the range of the US-ASCII coded character set
In the meantime if you want I can try to build for you an Oxygen plugin which when such a reference is inserted in the editing area will have the reference characters preserved without that extra escaping.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Prevent Oxygen software from automatically escaping for Chinese character
Hi,
As an update on this thread, in Oxygen 22 we added in the Preferences->"Encoding" page a new checkbox called "Encode non-ASCII characters in URL paths" which should insert links to files with non-ASCII file names which are easier to read in Chinese.
Regards,
Radu
As an update on this thread, in Oxygen 22 we added in the Preferences->"Encoding" page a new checkbox called "Encode non-ASCII characters in URL paths" which should insert links to files with non-ASCII file names which are easier to read in Chinese.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service