On Jun 10, 2007, at 11:48 AM, Felipe Monteiro de Carvalho wrote:
I would like to created a carbon application and use UTF-8 encoded
strings for it's controls (if necessary I can also first convert to
UTF-16 and then send the string to Carbon.
CFSTR() (and I presume the derived CFSTRP?) doesn't understand UTF-8,
only ASCII. If you want to use UTF-8 text, you have to create the
string yourself, or better yet load it from a strings file (which can
be encoded as UTF-8 or UTF-16).
Or better yet, load your entire interface from a nib and don't worry
about how to create the buttons at all in the first place.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden