[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: International Characters in attributes
On Friday, February 09, 2001 7:45 PM Michael Storm wrote: [DC] > >You might want to output HTML in iso-8859-1 rather than utf-8. > > That definitely solves the problem, however, I am not able to hardcode the > encoding type into the XSL, since the application could be viewed by two or > more different viewers at the same time (possiby one viewing a french > version, and another in japanese and another in english). Which argues in favour of utf-8 for everyone, provided the clients support it. The apparently strange values you quoted before will display as the correct characters if the browser is set to utf-8. Otherwise you have to get messy and deliver different encodings to different clients (if you are indeed sending Japanese to those Japanese users: if you're simply sending Latin script to people in Japan whose browsers may be expecting Shift-JIS or EUC you'll may get away with it - depends just what accented characters you want to send). Michael ------------------------------------------ Michael Beddow http://www.mbeddow.net/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|