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

Re: XML Blueberry

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: John Cowan <jcowan@r...>, David Carlisle <davidc@n...>
  • Date: Fri, 22 Jun 2001 11:36:50 -0400

encoding heuristics xml
At 11:02 AM -0400 6/22/01, John Cowan wrote:

>>  If all the files using NEL start <?xml version="1.0" 
>>encoding="some-flavour-of-ebcdic"?>
>>  Then can't NEL be mapped to #10 (0r #13) in the non normative support
>>  for the ebcdic related encodings. This wouldn't require any change to XML.
>
>
>But it does require two different kinds of EBCDIC mapping: one for XML,
>one for every other kind of text.  This is highly unsavory.
>

Yes, it is; but it's not nearly as unsavory as changing XML. Which 
tastes least bad?

Remember, except for XML and occasionally HTML very few human 
editable document formats ask that user specify which encoding 
they're using. If you're using a non-XML tool that doesn't blindly 
assume all documents are written in the default local character set 
(that's 90%+ of text tools right there) then it's probably doing some 
heuristics based on byte-order marks and such to figure out which 
encoding is being used. These heuristics all still work with 
encoding="some-flavour-of-ebcdic"
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.