xsl-list
[Top] [All Lists]

RE: [xsl] ÅÄÖåäö commes out as ??

2006-06-09 03:48:56

Got this error when i added that:

Unrecognized option: -encoding=3DUTF-8
Could not create the Java virtual machine.

/Niklas

-----Original Message-----
From: andrew welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Sent: den 9 juni 2006 11:59
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] ÅÄÖåäö commes out as ??

On 6/9/06, Niklas Holmberg <Niklas(_dot_)Holmberg(_at_)eniro(_dot_)com> wrote:

Hi!

I'm quite new to xsl (actually this is the first real xsl i'm producing) and 
have an encoding problem.
My xml and xsl are in UTF-8 and i've also specified that the output should be 
UTF-8.

The problem is that ÅÄÖåäö all commes out as ?? (3F 3F) in the output.
I don't know the name of my xsl-transformer. I just got provided with a 
directory with a shell-script which i call like this:
./xmlxslt.sh /home/niho/words.xml /home/niho/words.xsl >
/home/niho/words.html

Here's the files in the folder, maybe someone can figure out what the name of 
the transformer is?
http://www2.hemsida.net/badtant/xsl/xmlxslt.zip

And here's my xml, xsl and output:
http://www2.hemsida.net/badtant/xsl/files.zip

Does anybody know the name of the transformer and what might be the problem?

Thanks!
/Niklas

The processor is Xalan.

The next step I would try is to set the default encoding of the JVM - so in the 
xmlxslt.sh file add the switch -encoding=3D"UTF-8":

java -encoding=3D"UTF-8" -classpath /www/common/..........

cheers
andrew

(apologies if this comes through twice, I was told the first one failed)

--~------------------------------------------------------------------
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>
--~--





Confidentiality Notice: This e-mail transmission may contain confidential or 
legally privileged information that is intended only for the individual or 
entity named in the e-mail address. If you are not the intended recipient, you 
are hereby notified that any disclosure, copying, distribution, or reliance 
upon the contents of this e-mail is strictly prohibited and may be unlawful. If 
you have received this e-mail in error, please notify the sender immediately by 
return e-mail and delete all copies of this message.

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>