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

Re: Use of UTF-8 and UTF-16

  • To: Elliotte Harold <elharo@m...>
  • Subject: Re: Use of UTF-8 and UTF-16
  • From: Philippe Poulard <Philippe.Poulard@s...>
  • Date: Wed, 02 Nov 2005 15:04:51 +0100
  • Cc: Rick Jelliffe <rjelliffe@a...>, Xml-Dev <xml-dev@l...>
  • In-reply-to: <43660951.3090707@m...>
  • References: <NBBBIBMKFOFCNEBAKDPLCEKIKDAA.xml-dev@b...> <39325.203.51.20.11.1130759065.squirrel@i...> <43660951.3090707@m...>
  • User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050511

ucs 16 utf 8
Elliotte Harold wrote:
> Rick Jelliffe wrote:
> 
>> For CJK (Chinese, Japanese, Korean) XML documents, where three (or six)
>> bytes may be used by UTF-8 instead of UCS-16's two (or four), UTF-16 
>> files
>> will usually be smaller.
> 
> 
> First a correction: UTF-8 never uses six bytes for anything. The largest 
> UTF-8 character you'll ever see is 4 bytes wide.
> 

hi,

I read somewhere that :

UTF-8 uses 6 bytes for ISO/IEC 10646
UTF-8 uses 4 bytes for Unicode

Unicode is a subset of ISO/IEC 10646 (in terms of addressing)
ISO/IEC 10646 is a subset of Unicode (in terms of semantic)

XML uses Unicode

-- 
Cordialement,

            ///
           (. .)
  -----ooO--(_)--Ooo-----
|   Philippe Poulard    |
  -----------------------

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.