[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Defaul Encoding
At 12:39 AM 4/21/00 -0400, Clark C. Evans wrote: >On Thu, 20 Apr 2000, Rocky Raccoon wrote: >> <?xml version = "1.0"> >> what does this equate to in terms of encoding ? > >It will try to auto-detect based on the first >few bytes. See the XML spec for details; it >is towards the very bottom. Er, no. If there's no encoding= it must be in UTF-8 or UTF-16. If it's UTF-16, it has to have a BOM (Byte Order Mark), and this will enable autodection between -8 and -16. Of course, if it's in pure ASCII (*not* 8859-1 or some MS codepage) that's also UTF-8. -Tim *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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
|