Oxygen does not open XML files with wrong encoding
Oxygen general issues.
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Oxygen does not open XML files with wrong encoding
Post by Frank Ralf »
Hello,
I have received a number of XML files from a customer which claim to be UTF-16 in the XML declaration <?xml version="1.0" encoding="UTF-16"?> but are in fact in UTF-8. When doing a "Find/Replace in Files...", Oxygen warns me about the encoding mismatch but does not find my search string in the files even if it is there. Oxygen also cannot open the files correctly. Is there some setting to change this behavior? The files open without problem in Notepad++.
Best regards,
Frank
I have received a number of XML files from a customer which claim to be UTF-16 in the XML declaration <?xml version="1.0" encoding="UTF-16"?> but are in fact in UTF-8. When doing a "Find/Replace in Files...", Oxygen warns me about the encoding mismatch but does not find my search string in the files even if it is there. Oxygen also cannot open the files correctly. Is there some setting to change this behavior? The files open without problem in Notepad++.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 9433
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen does not open XML files with wrong encoding
Hi Frank,
I will add an internal issue based on this use case and think more about how we could be more helpful with this in the future.
Regards,
Radu
I think those are errors (not warnings) and Oxygen just skips over processing the file as it cannot properly read all characters inside it with the UTF-16 encoding.Oxygen warns me about the encoding mismatch but does not find my search string in the files
Oxygen opens the XML file and probably cannot process some of the characters with the UTF-16 encoding which is specifies in the header. In general we prefer to avoid continue processing instead of opening the file with an incorrect encoding, allowing the end user to make changes and save the file and maybe this leading to loss of content.Oxygen also cannot open the files correctly.
I will add an internal issue based on this use case and think more about how we could be more helpful with this in the future.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 482
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Oxygen does not open XML files with wrong encoding
Post by Frank Ralf »
Hi Radu,
Thanks for the feedback and creating an internal issue.
Best regards,
Frank
Thanks for the feedback and creating an internal issue.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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