OLEAUT32: Single|Double->BSTR conversion must always use locale (with tests)

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Sep 8 17:06:42 CDT 2005

Finally, I made a test that shows that native oleaut32 produces 
different strings for different locales with the same floating point 
number, even in the absence of the LOCALE_USE_NLS flag. The floating 
point 0.5 is shown to be converted to "0.5" in en_US locale and to "0,5" 
in es_ES locale. The test, and the patch that fixes the issue are in 
separate files. Hope it doesn't matter.

Alex Villacís Lasso

* Make Single|Double->BSTR conversion use the specified locale for the 
decimal point even without the LOCALE_USE_NLS flag. Test supplied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-oleaut32-vartype-locale_separator.patch
Type: text/x-patch
Size: 2170 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050908/b0843db6/wine-oleaut32-vartype-locale_separator.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-oleaut32-vartype-locale_separator_test.patch
Type: text/x-patch
Size: 1729 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050908/b0843db6/wine-oleaut32-vartype-locale_separator_test.patch

More information about the wine-patches mailing list