Issue 48175 - NativeNumberSupplier must not assume en_US input string
Summary: NativeNumberSupplier must not assume en_US input string
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 12:01 UTC by ooo
Modified: 2013-08-07 15:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ooo 2005-04-26 12:01:00 UTC
The NativeNumberSupplier service assumes that the number string is in en_US
format, decimal is (.) and thousand sep. is (,), and it tries to convert them to
what is defined in locale data. But the assumption is wrong, the string has to
be converted as is, all separators are already set as defined in the locale
data, other literal string data may have been inserted by the user to form
special formats.

offapi/com/sun/star/i18n/XNativeNumberSupplier.idl should clarify this in the
documentation of getNativeNumberString().
Comment 1 ooo 2005-04-26 12:02:34 UTC
Assigning to Karl.
Comment 2 karl.hong 2005-05-31 16:57:09 UTC
.
Comment 3 karl.hong 2005-08-27 00:47:03 UTC
Fix in cws i18n20. 

Remove convrrting separator and decimal point for non-cjk languages.
Comment 4 karl.hong 2005-08-31 21:28:09 UTC
ready for QA.

re-open issue and reassign to oc@openoffice.org
Comment 5 karl.hong 2005-08-31 21:28:14 UTC
reassign to oc@openoffice.org
Comment 6 karl.hong 2005-08-31 21:28:24 UTC
reset resolution to FIXED
Comment 7 karl.hong 2005-09-13 02:28:08 UTC
Ready for QA.

re-open issue and reassign to oc@openoffice.org
Comment 8 karl.hong 2005-09-13 02:28:34 UTC
reassign to oc@openoffice.org
Comment 9 karl.hong 2005-09-13 02:29:00 UTC
reset resolution to FIXED
Comment 10 oc 2005-09-26 15:39:53 UTC
verified in internal build cws_i18n20
Comment 11 oc 2005-11-21 13:29:51 UTC
closed because fix available in OOo2.0m142