[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The text illusion
On 15 July 2016 at 12:52, Costello, Roger L. <costello@mitre.org> wrote: It would be wrong to just look at a fragment of the file content in that way and guess the encoding is ascii or otherwise. The interpretation of the xml content should always be as a sequence of unicode code points. The mapping between bits in the file encoding unicode is specified in the xml declaration at the top of the file (or other places such as http headers as specified in the xml rec)
so whether the file is ebcdic encoded or ascii or has 0 the interpretation should first be to U+0030 and then to interpret that as the number zero if appropriate. David
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|