[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: internationalization question
Peter, there is a maximum of 256 separate characters available in any eight-bit character encoding, and some of those are set aside for special purposes. You need far more individual symbols to be able to present all of the characters that appear in languages that use latin-based characters. And that doesn't begin to address languages that use different characters or are ideographic. That is why we need Unicode or multi-byte character sequences. XML supports different character encoding schemes including Unicode (UTF-16), see http://www.w3.org/TR/REC-xml#charsets. In other words, you can store essentially any character you please in XML (and hence in XSLT), no problem. That includes Chinese, Russian, Navajo, Korean, Thai, Indic languages, you name it. The problem lies in the code pages installed on the different computers, the fonts used to display the characters on different computers, the encoding specified in the XML declaration, and the mechanisms for getting data into and out of the XML documents. But none of that has to do with XSLT. Does that help? Cheers, Stuart -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Peter Rooney Sent: Monday, January 28, 2002 09:29 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: internationalization question what i would like is the ability to take any eight bit language, not know what it is, and "just" display it....so that if someone enters spanish text, and has a spanish version of windows, it looks correct. is that possible? at present there are no encoding attributes in our xml declarations, so we're getting xalan's default behaviour, and reports from the field suggest that things aren't working for non-english users. i could associate users with a language and parameterize the stylesheets on language but i was hoping for a simpler xsl solution. any pointers or advice on the right way to do this would be most welcome. thanks and regards, peter XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|