[xep-support] Character set problems Linux/Windows

Alain Gravel agravel at fulcrummicro.com
Wed Dec 13 10:42:43 PST 2006


I have an FO file that contains non ASCII characters (left quote, right 
quote, bullets). The file gets formatted correctly on Windows but the 
same file has problems getting formatted correctly on Linux. These 
special characters get substituted to other funny characters. My FO file 
starts with:

<?xml version="1.0" encoding="windows-1252"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
         xmlns:fox="http://xml.apache.org/fop/extensions"
         xmlns:html="http://www.w3.org/1999/xhtml"
         hyphenate="false"
         text-align="start"
         writing-mode="lr-tb">
.
.
.
</fo:root>

The characters displayed while running on Linux are actually UTF-8 
rather than windows-1252. So it seams that XEP ignores the encoding 
directive and assume the encoding is whatever is the default for that 
OS. Any way to fix this ?

Regards,

Alain





-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list