• 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: Unicode and NSTextField (newbie question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode and NSTextField (newbie question)


  • Subject: Re: Unicode and NSTextField (newbie question)
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 8 Mar 2003 09:41:14 +0100

Am Freitag, 07.03.03 um 19:59 Uhr schrieb Susan G. Conger:

Do you have to do anything special or is it all hidden? If I have a dialog that has a text field that the user types data into how do I make it so that text field accepts unicode?

AFAIK any Cocoa class that handles text will accept unicode characters/strings.

The only time you need to worry about the character encoding is when you leave Cocoa. Writing a special file format for instance. In that case you use the - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding NSString method to get the exact byte representation of the string in question.

Hope this helps.


bye. Andreas.
_______________________________________________
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.

References: 
 >Unicode and NSTextField (newbie question) (From: "Susan G. Conger" <email@hidden>)

  • Prev by Date: Font Panel usage question
  • Next by Date: Determining if a user's comp has 2 processors
  • Previous by thread: Re: Unicode and NSTextField (newbie question)
  • Next by thread: User Access
  • Index(es):
    • Date
    • Thread