• 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
Unicode Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unicode Characters


  • Subject: Unicode Characters
  • From: Mactov <email@hidden>
  • Date: Tue, 18 Mar 2003 20:23:32 +0100

Hi,

Here are a few lines of Obj-C that are, alas, not working.

{
NSString *s;
s=@"@"; //for those who won't read Unicode characters, this is supposed to be the russian letter "you"
[texteRU setString:s];
}

Where am I mistaking ? I changed my PB prefs to Unicode UTF-8 encoding and I get the Unicode letters from my keyboard by switching it to "Unicode Entry" (from the International SysPrefs). I regularly do this without any problem with TextEdit or Mail and I get the appropriate character in PB's text editor. But when I launch the app, the rusian character turns into a "-e" or any 8bit-ASCII string

Why doesn't it work ?

Mactov
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Unicode Characters
      • From: "Clark S. Cox III" <email@hidden>
    • Re: Unicode Characters
      • From: Chris Ridd <email@hidden>
  • Prev by Date: OT: custom .dmg files
  • Next by Date: Re: Java vs C/Objective-C performance question
  • Previous by thread: Re: OT: custom .dmg files
  • Next by thread: Re: Unicode Characters
  • Index(es):
    • Date
    • Thread