Re: [xsl] using xsl:message with UTF-8 characters

Subject: Re: [xsl] using xsl:message with UTF-8 characters
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 21 Apr 2007 00:18:03 +0100
>>>>> "Manfred" == Manfred Staudinger <manfred.staudinger@xxxxxxxxx> writes:

    Manfred> Using XSLT 2.0 with Saxon 8.9.0.3J I would like to use
    Manfred> xsl:message much more, but I don't know how to get UTF-8
    Manfred> chars displayed correctly. Here is what I get when I
    Manfred> invoke test.xsl with saxon from the command line:

    >> java net.sf.saxon.Transform dummy.xml test.xsl
    Manfred> a or ?that's the question <---- I replaced a square by a
    Manfred> true ?  <doc>a or d, that's the question</doc>>Exit code:
    Manfred> 0

    Manfred> The square stands for x'E4 AC A0' (which would triggers
    Manfred> base64 encoding in gmail by the way) and the text has not
    Manfred> only lost the "d" (x'C3 A4') but also the next 2 bytes ",
    Manfred> " (x'C2 20').

    Manfred> Any idea how to get xsl:message working ?

I tried it with both gestalt (svn) and Saxon 8.9 on my Linux machine, and
both
worked fine.

So I expect it is your windows environment that is the problem.
--
Colin Adams
Preston Lancashire

Current Thread