xsl-list
[Top] [All Lists]

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

2007-04-20 16:18:33
"Manfred" == Manfred Staudinger 
<manfred(_dot_)staudinger(_at_)gmail(_dot_)com> 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 ä, 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 "ä" (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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--