• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: printing Utf8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing Utf8


  • Subject: Re: printing Utf8
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 31 Oct 2012 20:07:28 +0100

Le 31 oct. 2012 à 16:31, Ken Thomases <email@hidden> a écrit :

> On Oct 31, 2012, at 10:17 AM, lbland wrote:
>
>> On Oct 31, 2012, at 10:41 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
>>
>>> 	NSString *s = @"ร่วมรส";
>>
>> Not supported. The compiler should be issuing a warning. You need to escape the characters using a UTF encoding.
>
> That's not true.  The compiler has supported UTF-8 source encoding for quite a while now.

Not only it supports UTF-8 sources, but more important, it supports unicode NS/CFString literals.
Such string will not be encoded using UTF-8 (as will be a C string literal), but as an UTF-16 NSString.

-- Jean-Daniel





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >printing Utf8 (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: printing Utf8 (From: lbland <email@hidden>)
 >Re: printing Utf8 (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Drawing customized window
  • Next by Date: Re: App rejection due to app-sandboxing invalid entitlement
  • Previous by thread: Re: printing Utf8
  • Next by thread: Re: printing Utf8
  • Index(es):
    • Date
    • Thread