Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode-savvy text handling



Is there a locale definition that I could use for CFNumberFormatterCreate so
that I can take a number and pass it into
CFNumberFormatterCreateStringWithNumber and get back Roman numerals
(U+2160-U+2182)?

Quoting Deborah Goldsmith <email@hidden>:

Yes, CFNumberFormatter and NSNumberFormatter will handle non-ASCII
digits, and are recommended.


Deborah Goldsmith
Internationalization, Unicode liaison
Apple Inc. email@hidden


On Jun 21, 2007, at 2:18 PM, Laurence Harris wrote:


On Jun 21, 2007, at 4:46 PM, Deborah Goldsmith wrote:

On Jun 14, 2007, at 6:53 PM, Laurence Harris wrote:
But aren't most of those non-ASCII digits still Arabic numbers? Don't most people -- even in other languages -- enter numbers in text fields as ASCII digits? Just wondering.

No, some locales use non-ASCII digits, particularly Arabic and Indic languages.

So what's the most modern, recommended, Unicode-savvy way to convert a text string into a numeric value? CFNumberFormatter?


Larry

_______________________________________________
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



_______________________________________________
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
References: 
 >Unicode-savvy text handling (From: Rick Mann <email@hidden>)
 >Re: Unicode-savvy text handling (From: Laurence Harris <email@hidden>)
 >Re: Unicode-savvy text handling (From: Rick Mann <email@hidden>)
 >Re: Unicode-savvy text handling (From: Laurence Harris <email@hidden>)
 >Re: Unicode-savvy text handling (From: Deborah Goldsmith <email@hidden>)
 >Re: Unicode-savvy text handling (From: Laurence Harris <email@hidden>)
 >Re: Unicode-savvy text handling (From: Deborah Goldsmith <email@hidden>)
 >Re: Unicode-savvy text handling (From: Laurence Harris <email@hidden>)
 >Re: Unicode-savvy text handling (From: Deborah Goldsmith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.