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

RE: [Summary] UTF-8 Question: e with acute accent should requ

  • From: "Alessandro Triglia" <sandro@m...>
  • To: "'Costello, Roger L.'" <costello@m...>,<xml-dev@l...>
  • Date: Fri, 28 Sep 2007 14:23:06 -0400

RE:  [Summary]  UTF-8 Question: e with acute accent should requ
Hi Roger,

It is not correct to say that a Unicode character can be either an "ASCII
character" or a "non-ASCII character".  It is better to say that some
Unicode characters (those with codes below 128) have a corresponding
character in ASCII.

For example, your sentence "Most of its characters are ASCII, but there is
one non-ASCII character, the é character" is not correct.  A more precise
statement would be, "Most of its characters have a corresponding character
in the ASCII character set, but there is one character, the é character
(officially named "LATIN SMALL LETTER E WITH ACUTE", code 233), which has no
corresponding character in ASCII."

Elsewhere, when you say something like, "In UTF-8 all ASCII characters are
encoded using one byte", a more correct formulation might be, "In UTF-8 all
Unicode characters with codes below 128 are encoded in one byte.  Each of
those Unicode characters has a corresponding character in the ASCII
character set, and the encoding of that ASCII character (in ASCII) is
identical to the encoding of the Unicode character in UTF-8."  (Is this too
verbose perhaps?)

(So an ASCII character string, encoded, can be decoded as if it were a
Unicode character string encoded in UTF-8, and the meaning will be the same.
The other way around is generally not possible, as there may be byte values
above 127 that are not legal encodings of any ASCII characters.)



> -----Original Message-----
> From: Costello, Roger L. [mailto:costello@m...] 
> Sent: Friday, September 28, 2007 13:42
> To: xml-dev@l...
> Subject:  [Summary] UTF-8 Question: e with acute 
> accent should require two bytes, right?
> Hi Folks,
> Once again, outstanding information!
> I have summarized at least part of the discussions:
> http://www.xfront.com/encoding-example/
> Comments always welcome.
> Thanks!
> /Roger
> ______________________________________________________________
> _________
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l... List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.