[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 8bit ascii encoding

Subject: Re: 8bit ascii encoding
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 28 Aug 2002 13:50:37 -0600 (MDT)
xml ascii encoding
Andrew Welch wrote:
> 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) 

Yes.
 
> 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?

It would work, yes, as long as you can be certain that it's always
done exactly as you say.

Is it wise? I'd be imagining the day a year from now when someone else
is having to wrench something into your application, and they'll not have
done their homework and will just think a character is a character, "let's
throw some random strings in there and hey why is my XML broken!?! XML is 
dumb!"


   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.