Re: Character set in Carbon
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