[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

AW: [xsl] i18n problem while displaying using stylesheet


Subject: AW: [xsl] i18n problem while displaying using stylesheet
From: <christof.hoeke@xxxxxxx>
Date: Fri, 25 Jun 2004 09:58:21 +0200

hi,
have you tried to set the output encoding to the one you need (i don't know the japanese encoding name...):

<xsl:output media-type="text/html" method="html" encoding="JAPANESE_ENCODING"/>

that should output your HTML in the given encoding and i guess it should insert the appropriate japanese characters then.


btw, would you have a short stylesheet in the japanese encoding with jap. characters in it? i would like to test my own application if it can handle other encodings than utf-8, iso-8859-1 or ascii...
thanks in advance!

chris



> -----Ursprüngliche Nachricht-----
> Von: Ranjan K. Baisak [mailto:ranjanbaisak@xxxxxxxxx]
> Gesendet: Freitag, 25. Juni 2004 09:54
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: [xsl] i18n problem while displaying using stylesheet
> 
> 
> Hello List,
>           My xml contains following elements with
> japanese characters. 
> <country
> name="&#20837;&#21147;&#26989;&#21209;&#24037;&#25968;&#12398;
> &#21066;&#38500;"
> nameindex="1" />
> <country
> name="&#20837;&#21147;&#26989;&#24037;&#25968;&#12398;&#21066;
> &#38500;"
> nameindex="2" />
> I need to display japanese charachers as it is. My
> stylesheet displays acsii characters not japanese
> characters when it converts xml to html. Any
> suggestion regarding what are steps I need to take
> care to to show the content of "name" attribute as it
> is in html format.
> 
> regards,
> Ranjan
> 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> 
> --+------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 
> 


Current Thread
Keywords
xml