On Wed, 8 Aug 2007 09:06:34 +0200,
email@hidden (email@hidden) wrote:
>Hi
>I need to know which language is selected in pref System Internationnal.
>Specialy if the 'point' or 'comma' is used
>scanf uses 'point', in France we use 'comma'
>I thought I had to use resource 'itl0' but which number?
Unless you're still targeting Jaguar, you can forget about 'itl0'
and the old International Utilities. Use CFLocale instead.
Something like this:
CFLocaleRef currentLocale = CFLocaleCopyCurrent();
CFStringRef decimalSeparator = CFLocaleGetValue(currentLocale,
kCFLocaleDecimalSeparator);
// do your stuff
CFRelease(currentLocale);
-- marco
--
It's not the data universe only, it's human conversation.
They want to turn it into a one-way flow that they have entirely
monetized. I look at the collective human mind as a kind of
ecosystem. They want to clear cut it. They want to go into the
rainforest of human thought and mow the thing down.
_______________________________________________
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
This email sent to email@hidden