Subject: Re: [xsl] using xsl:message with UTF-8 characters From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx> Date: Sun, 22 Apr 2007 23:17:04 +0200 |
Hi, Tanks for your responses so far! All of you agree (as I do), that the standard Windows shell is unable to display UTF-8 correctly.
In my first message I didn't make it clear, that in fact I used the command prompt in SciTE for my test (I've forgotten about the Windows cmd.exe long ago). As the test from Michael Kay shows also On 21/04/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
Take this stylesheet:
<xsl:template name="main"> <xsl:value-of select="'V: ªº€'"/> <xsl:message>M: ªº€</xsl:message> </xsl:template>
If I run it from the command prompt in UltraEdit under WinXP, the message (M:) displays correctly and the principal output (V:) does not.
This is clearly the interesting part of my inquiry: there are some shells available under Windows, which are able to display (some) UTF-8 correctly. What I'm thinking is not so much how Saxon may be changed, but instead to look for a solution in my environment to get the output from xsl:message on board. It's really a pain to think that under Windows xsl:message is more or less useless for non-Latin alphabets.
By default the output from xsl:message in Saxon goes to System.err ... It's easy enough to tell Saxon to send the message somewhere else where it won't be mangled, but the question is, where do you actually want it?
To begin with, am I correct to assume it would be necessary (if not sufficient) to change this default and the way to do it is to specify the "-m classname" parameter on the command line?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using xsl:message with UT, Joe Fawcett | Thread | RE: [xsl] using xsl:message with UT, Michael Kay |
Re: [xsl] grouping and counting of , Mukul Gandhi | Date | Re: [xsl] XSLT Text Processing: Fun, Jacek Radajewski |
Month |