• 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: Character set in Carbon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character set in Carbon


  • Subject: Re: Character set in Carbon
  • From: "R. Scott Thompson" <email@hidden>
  • Date: Tue, 31 May 2005 23:08:14 -0500

I there a way to ask a Carbon application what character set is currently
using? (Something like "GetCurrentlyUsedCharacterSet" returning UTF8,
MacRoman8 or WE8ISO8859,...)

There is no way to answer this question. An application (Carbon or otherwise) does not have to be using any one specific character set at any given time. The same application could read data out of a unicode file, a Mac Roman encoded text file, and a ISO 8859-1 file all at the same time. Depending on what kind of text entry fields you might be using, and which keyboard the user has selected, the code might be receiving input in any of a number of character sets.


Your question has no answer because it is based on the false premise that an application can only use one character set at a time.

Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: Character set in Carbon (From: "Dieter Oberkofler" <email@hidden>)

  • Prev by Date: build errors
  • Next by Date: Re: build errors
  • Previous by thread: Re: Character set in Carbon
  • Next by thread: Anyway to have Xcode Help default to API Search?
  • Index(es):
    • Date
    • Thread