This content has been marked as final. Show 3 replies
Newer Linux versions tend to have utf8 as the default encoding
But it can be influenced by setting LANG to something like en_US or ge_GE or hu_HU etc prior to launcihng your application.
hi, setting LANG didn't help. in my xslt i've got the following:
i'm on ubuntu 6.10 edgy and i've set LANG to both no_NO and no_NO.ISO-8859-1, and run fop from the command line, but ��� still come out in the pdf like its being processed with UTF-8. is there some kind of hard coded, overriding FOP (v 0.93) setting i don't know about?
<?xml version="1.0" encoding="ISO-8859-1"?> ... <xsl:output version="1.0" method="xml" encoding="ISO-8859-1" indent="no"/>
thanks in advance for any help available =)
i love it when i answer my own questions =)
my solution was just to change all instances of iso-8859-1 to UTF-8. crazy huh? i think it is a linux thing. on windows it needs to be iso-8859-1 but on linux, UTF-8. a little annoying actually...