I have not looked into the internal of JS but usually the XML parser already takes care of encoding. One possible causes if that your document's content is actually in UTF-8 even though the XML encoding said it is Shift_JIS
You should first verified that you are saving the file in the same encoding as proclaimed by the XML declaration. Hope this help. On Fri, 28 Jan 2005 18:08:11 +0900, Hisashi Yamaguchi <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to run a XSLT portlet. > What I really want to do is > to exchange XML data that contains Japanese character. > Following is exactly the same data that I'm trying. > > <?xml version="1.0" encoding="Shift_JIS"?> > <footballers> > <player> > <firstname>åå</firstname> > <lastname>èå</lastname> > <position>Midfielder-Forward</position> > <caps>159</caps> > <goals>14</goals> > <country>USA</country> > </player> > <player> > <firstname>Zbigniew</firstname> > <lastname>Boniek</lastname> > <position>Forward</position> > <caps>80</caps> > <goals>24</goals> > <country>Poland</country> > </player> > </footballers> > > Every time I try, the portlet shows broken Character, > and Tomcat log says below. > > An invalid XML character (Unicode: 0x1b) was found in the element content of > the document. > > As long as I guess, the encording that > Jetspeed expect to get must be Unicode, > so it doesn't work corectly at any time. > > Any comments would be really appreciated. > > Thanks, > --Hisashi.Yamaguchi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]