Re: printing Utf8
Re: printing Utf8
- Subject: Re: printing Utf8
- From: Vincent Habchi <email@hidden>
- Date: Wed, 31 Oct 2012 16:36:44 +0100
Le 31 oct. 2012 à 16:17, lbland <email@hidden> a écrit :
> hi-
>
> 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.
I never had any problem including UTF8 chars in NSStrings, like arrows, math symbols or other weird glyphs. My guess is either a glitch in Terminal or the shell you use (stty pass8, etc.).
Does it happen with NSLog? In general, I think it is much better to use NSLog rather than fprintf (stderr, …).
Vincent
_______________________________________________
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