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

Re: UTF-8+names


0x6e
Alessandro Triglia wrote:

> Indeed, if one uses UTF-8+names just as an encoding of Unicode (with no
> re-interpretation trick), no human user will ever see those     things.
> All that humans will see is some displayable form of the  NON-BREAK SPACE
> character, which happened to be encoded as  0x26 0x6E 0x62 0x73 0x70 0x3B
> rather than as  0xNN1 0xNN2 (the two bit patterns being equivalent).  

I had to read this a couple of times but now I get it.  For most 
encodings of Unicode I know of, if you're editing a text file, any 
characters that can be displayed are displayed as themselves, not as the 
underlying UTF-8 bit patterns or whatever.  Characters that *can't* be 
displayed show up as diamonds or squiggles or boxes.  +names is 
different in that sometimes a human might want to work with the encoding 
not the actual Unicode characters, purely because ∯ might look 
better in your file than the surface integral (U+222B) that your screen 
can't display.  On the other hand, since basically every screen in the 
world can now display ü, you'd rather see that than ü.

Bottom line: in some applications this would be convenient.  Others not.

> I am not actually proposing to add this macro functionality to Unicode, but
> I am saying that there are two places where the initial problem can be
> addressed:  either at the XML level or at the Unicode level (which involves
> the displayable form).  Not at the encoding level.

Bear in mind that the initial problem was the ongoing clamor from 
communities of people who really want to use the ISO entity sets but 
don't want to use DTDs.  So far, the standards community has failed to 
come up with an option that is attractive to them.  +names is just a 
trial balloon.  My intuition disagrees with yours, the encoding level 
feels like an appropriate approach to this problem. -Tim



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.