Re: [newbie] Cocoa UI and UTF-8
Re: [newbie] Cocoa UI and UTF-8
- Subject: Re: [newbie] Cocoa UI and UTF-8
- From: John Stiles <email@hidden>
- Date: Tue, 12 Jul 2005 00:16:17 -0700
Cocoa APIs that take strings as input all take NSStrings, which
aren't tied to any one encoding (MacRoman or otherwise).
You can make NSStrings with UTF8 very trivially... just use [NSString
stringWithUTF8String:myCharPointer]
On Jul 11, 2005, at 11:21 PM, Yvon Thoraval wrote:
Hey all,
i'm using UTF-8 encoding for all my datas (xml import/export)
however the ui side is in Mac OS Roman then i have always to do
back and reverse translation between both encodings.
then i look for a more clever way such as letting the UI to know i
want to work in utf-8 rather than macos roman, avoiding translations.
the question is : does such a directive exists ?
Yvon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden