RE: 8bit ascii encoding
Thanks for all the responses, I still haven't been able to resolve the problem but at least Ive learnt a *lot* about encoding. One theoretical question that would help: If I choose utf-8 as my output encoding, there will be no BOM and characters in the original ascii range will be output exactly as if I had chosen ascii...? (0-127) So in theory, any program that takes the output, copies it byte-for-byte and adds some its own bytes in ascii, would maintain the original utf-8 encoding (therefore any program told to read it in utf-8 would be successful). Is this sound? cheers andrew > -----Original Message----- > From: Michael Leditschke [mailto:mike@xxxxxxxxxxx] > Sent: 24 August 2002 07:03 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: 8bit ascii encoding > > > > > > If my chars are two bytes each then Im using utf-16, but utf-8 can > > consist of 1-5bytes per char... I think I need to read some more. > > Hi Andrew. > May I suggest a very useful tutorial (thanks Mike!) at > > http://skew.org/xml/tutorial/ > > which explains XML starting with a lot of information > about Unicode, encodings etc. > > I found it very helpful when grappling with > encodings etc. > > Regards > Michael > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 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