• 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: [newbie] Cocoa UI and UTF-8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: [newbie] Cocoa UI and UTF-8
      • From: Yvon Thoraval <email@hidden>
References: 
 >[newbie] Cocoa UI and UTF-8 (From: Yvon Thoraval <email@hidden>)

  • Prev by Date: Understanding crashes
  • Next by Date: IB Binding no error, Programmatic Binding error
  • Previous by thread: [newbie] Cocoa UI and UTF-8
  • Next by thread: Re: [newbie] Cocoa UI and UTF-8
  • Index(es):
    • Date
    • Thread