Hi,

Dale P. Smith wrote:
> Jeremias Maerki <dev <at> jeremias-maerki.ch> writes:
> 
>> If this is the result you get, you're using a non-conforming JVM. For
>> encoding the title, FOP uses "UTF-16" encoding for which you can find in
>> the spec:
>> "When decoding, the UTF-16 charset interprets a byte-order mark to
>> indicate the byte order of the stream but defaults to big-endian if
>> there is no byte-order mark; when encoding, it uses big-endian byte
>> order and writes a big-endian byte-order mark."
>>
>> See:
>> http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html
>>
>> So if you get little endian, that means the class library you're using
>> misbehaves. I'd make sure you're really using the right JVM.
> 
> Ok.  I'm running on a Debian Lenny system.  I installed the sun-java6-jre
> package and am using fop 0.95 installed from the binary tarball.

Careful, just because you installed the sun-java6-jre package doesn’t
mean that you’re actually using it. On Debian systems there is a notion
of ‘alternatives’ that allows you to set a preference between several
packages providing the same piece of software. By default more free
versions will be privileged over less free ones.
To see which version is currently in use:
    update-alternatives --display java
to set up another version:
    update-java-alternatives -l
    <list of alternatives>
    update-java-alternatives -s java-6-sun

If you already did all of that, then... I don’t know :-\

> Same thing.  I'll see about installing a sun built java and see if that makes
> any difference.
> 
> Thanks!
>   -Dale

HTH,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to