Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wchar_t and printf not working



On Mon, 28 Mar 2005 08:39:25 -0500
Clark Cox <email@hidden> wrote:

> Actually, you will *never* see UTF-8 with more than 4 octets per
> codepoint. Period. That is the way that UTF-8 is defined. If you see a
> 5 or 6 octet character, then you are not reading UTF-8 data.

This is incorrect. Please read the first sentence in section 2 of
RFC 2279:

  2.  UTF-8 definition

  In UTF-8, characters are encoded using sequences of 1 to 6 octets.

Mike

[1] http://www.ietf.org/rfc/rfc2279.txt

-- 
IRC - where men are men, women are men, and the boys are FBI agents.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: wchar_t and printf not working (From: Michael B Allen <email@hidden>)
 >Re: wchar_t and printf not working (From: Alexey Proskuryakov <email@hidden>)
 >Re: wchar_t and printf not working (From: Michael B Allen <email@hidden>)
 >Re: wchar_t and printf not working (From: Clark Cox <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.