Mac OS X to Win XP Text Format
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
The encoding for XML files is very clearly specified. For non xml files (as in your case) oXygen uses a user configurable encoding. By default on Mac that is set to MacRoman. You can change it from Oxygen->Preferences dialog using the Encoding for non XML files entry in the Global tab. I guess that changing that to UTF-8 for instance will solve your problem.
Best Regards,
George
The encoding for XML files is very clearly specified. For non xml files (as in your case) oXygen uses a user configurable encoding. By default on Mac that is set to MacRoman. You can change it from Oxygen->Preferences dialog using the Encoding for non XML files entry in the Global tab. I guess that changing that to UTF-8 for instance will solve your problem.
Best Regards,
George
-
- Posts: 3
- Joined: Tue Nov 23, 2004 3:09 pm
Thanks, george, but I was speaking of converting from the unix style strings (terminated with the nl character 0x0a) to 'dos' style strings (terminated with cr/lf - i.e., 0x0d/0x0a).
When I use notepad at work to read an iMav/Oxygen produced text file, the text is readable, but all of the new-line formatting is lost. Interestingly, CodeWright handles the files just fine. Unfortunately, I'm dealing with html homework and my instructor uses notepad exclusively.
When I use notepad at work to read an iMav/Oxygen produced text file, the text is readable, but all of the new-line formatting is lost. Interestingly, CodeWright handles the files just fine. Unfortunately, I'm dealing with html homework and my instructor uses notepad exclusively.
-
- Posts: 60
- Joined: Wed Jan 28, 2004 10:51 pm
This really has nothing to do with oXygen directly.
As you noted, it is a mismatch between how each OS handles new lines.
Here's a simple Mac version of the [unix|dos]2[unix|dos] utilities that are pretty standard. Apple should probably add this to the Darwin portion of OS X.
http://www.osxgnu.org/software/Fileutils/Unix2Dos/
I'm sure there are also Windows versions of the same utilities.
-David
As you noted, it is a mismatch between how each OS handles new lines.
Here's a simple Mac version of the [unix|dos]2[unix|dos] utilities that are pretty standard. Apple should probably add this to the Darwin portion of OS X.
http://www.osxgnu.org/software/Fileutils/Unix2Dos/
I'm sure there are also Windows versions of the same utilities.
-David
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