Large File Viewer ignores encoding settings
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 19
- Joined: Thu Nov 14, 2013 1:04 pm
Large File Viewer ignores encoding settings
Post by joerg.hambuch »
Hi,
I try to open a plain text file (suffix .txt) with the Large File Viewer. I set the encoding for Non-XML files to UTF8 according to http://oxygenxml.com/doc/ug-editor/topi ... oding.html. When I start the Large File Viewer from inside oXygen Author, it respects the encoding settings. When I start it stand-alone, it obviously opens the file with another encoding. All Umlauts are displayed as different characters, e.g. the ü is shown as √º.
Best regards,
Jörg
I try to open a plain text file (suffix .txt) with the Large File Viewer. I set the encoding for Non-XML files to UTF8 according to http://oxygenxml.com/doc/ug-editor/topi ... oding.html. When I start the Large File Viewer from inside oXygen Author, it respects the encoding settings. When I start it stand-alone, it obviously opens the file with another encoding. All Umlauts are displayed as different characters, e.g. the ü is shown as √º.
Best regards,
Jörg
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Large File Viewer ignores encoding settings
Hello,
This happens because all Oxygen tools (Large File Viewer, SVN Client, etc) have separate settings when launched independently.
Unfortunately the standalone Large File Viewer does not provide access to the Preferences dialog, so you can't change the encoding settings from the GUI.
You'll have to manually edit the Large File Viewer preferences file.
Navigate to the Oxygen preferences folder. Depending on the platform the preferences folder for Oxygen XML Editor is located as follows:
- Windows XP - <user-home-folder>\Application Data\com.oxygenxml
- Windows Vista/7/8 - <user-home-folder>\AppData\Roaming\com.oxygenxml
- Mac OS X - <user-home-folder>/Library/Preferences/com.oxygenxml
- Linux - <user-home-folder>/.com.oxygenxml
If you have Oxygen XML Author, the name of the folder has an additional suffix, '.author':
com.oxygenxml.author
In Windows if you have trouble locating the AppData/Application Data folder(it is hidden), open Windows Explorer, type in the Address bar %APPDATA% and press Enter.
Look in the Oxygen preferences folder for the file oxyOptionsLargeFileViewer16.0.xml (options file for Large File Viewer of v16.0). Make sure that the standalone Large File Viewer tool is closed and edit this file in Oxygen. Add a new entry at the beginning inside the serializableOrderedMap element :
Replace UTF8 with your encoding.
Regards,
Adrian
This happens because all Oxygen tools (Large File Viewer, SVN Client, etc) have separate settings when launched independently.
Unfortunately the standalone Large File Viewer does not provide access to the Preferences dialog, so you can't change the encoding settings from the GUI.
You'll have to manually edit the Large File Viewer preferences file.
Navigate to the Oxygen preferences folder. Depending on the platform the preferences folder for Oxygen XML Editor is located as follows:
- Windows XP - <user-home-folder>\Application Data\com.oxygenxml
- Windows Vista/7/8 - <user-home-folder>\AppData\Roaming\com.oxygenxml
- Mac OS X - <user-home-folder>/Library/Preferences/com.oxygenxml
- Linux - <user-home-folder>/.com.oxygenxml
If you have Oxygen XML Author, the name of the folder has an additional suffix, '.author':
com.oxygenxml.author
In Windows if you have trouble locating the AppData/Application Data folder(it is hidden), open Windows Explorer, type in the Address bar %APPDATA% and press Enter.
Look in the Oxygen preferences folder for the file oxyOptionsLargeFileViewer16.0.xml (options file for Large File Viewer of v16.0). Make sure that the standalone Large File Viewer tool is closed and edit this file in Oxygen. Add a new entry at the beginning inside the serializableOrderedMap element :
Code: Select all
<entry>
<String>editor.non.xml.file.encoding.v5.1</String>
<String>UTF8</String>
</entry>
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 19
- Joined: Thu Nov 14, 2013 1:04 pm
Re: Large File Viewer ignores encoding settings
Post by joerg.hambuch »
Hi Adrian,
it works. Thanks for your great support!
Best regards,
Jörg
it works. Thanks for your great support!
Best regards,
Jörg
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