xsl-list
[Top] [All Lists]

AW: i18n problem while displaying using stylesheet

2004-06-25 00:58:21
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(_at_)yahoo(_dot_)com]
Gesendet: Freitag, 25. Juni 2004 09:54
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




<Prev in Thread] Current Thread [Next in Thread>
  • AW: i18n problem while displaying using stylesheet, christof.hoeke <=