Re: French number localization problem
Re: French number localization problem
- Subject: Re: French number localization problem
- From: Chris Suter <email@hidden>
- Date: Thu, 17 May 2007 05:14:30 +1000
On 17 mai 07, at 03:32, Michael wrote:
Hello,
I have a problem with an edit field used for numbers if the
application is running on a French Max OS 10.4.9. The edit field
formatter is configured like this:
Positive: #,##0.00
Zero: 0,00
Negative: -#,##0.00
"Localize" and "Add 1000 Separators" are switched on.
Everything works fine if the number is not larger than 999. If the
number is 1000 or above I see this message on the log:
... setNilValueForKey: could not set nil as the value for the key
height.
Looks as if the number is "converted" to a nil value. If I run the
same app under an English or a German system or if I switch off the
number formatter this problem does not occur.
Any ideas?
Thank you for your help,
Michael
I've reported this issue to Apple before — you can fix the problem by
setting the number formatter behaviour to
NSNumberFormatterBehavior10_4 which you have to do programmatically.
I don't know of a workaround for those using < 10.4.
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden