[Bug 52866] vbscript:run fails in Wine in Arabic and Hebrew

WineHQ Bugzilla wine-bugs at winehq.org
Mon Apr 25 09:40:25 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52866

Robert Wilhelm <sloper42 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sloper42 at yahoo.com

--- Comment #2 from Robert Wilhelm <sloper42 at yahoo.com> ---
It seems converting negativ numbers from string does not work anymore in arabic
locale.
cNegativeSymbol=L"\200e" instead "-"

$ cat cdbl.vbs 
msgbox CDbl("-1")
$ LANG=en_us.UTF-8
$ ../../../wine cscript.exe cdbl.vbs 
0104:fixme:imm:ImeSetActiveContext (0x14b930, 1): stub
0104:fixme:imm:ImmReleaseContext (00010058, 0014B930): stub
0064:fixme:imm:ImeSetActiveContext (0x14bac8, 0): stub
0064:fixme:imm:ImmReleaseContext (00010020, 0014BAC8): stub
[robert at fedora tests]$ LANG=ar_MA.UTF-8
[robert at fedora tests]$ ../../../wine cscript.exe cdbl.vbs 
0104:fixme:wscript:ActiveScriptSite_OnScriptError ()

with WINEDEBUG=+variant I get

0024:trace:variant:VarParseNumFromStr L"-1", 0x400, 0, 006EF108, 006EF120.
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cNegativeSymbol=L"\200e"
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cPositiveSymbol=L"+"
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cDecimalPoint=L","
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cDigitSeparator=L"."
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cCurrencyDecimalPoint=L","
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400,
cCurrencyDigitSeparator=L"."
0024:trace:variant:VARIANT_GetLocalisedNumberChars lcid 0x400, sCurrency 5
L"\062f.\0645.\200f"
0024:trace:variant:VariantClear (006EF5B0 {VT_EMPTY})
0024:trace:variant:VariantClear (006EF5C0 {VT_BSTR: L"-1"})
0024:trace:variant:VariantChangeTypeEx returning 0x80020005, 006EF660
{VT_EMPTY}
0024:trace:variant:VariantClear (001C5098 {VT_BSTR: L"-1"})
0024:trace:vbscript:VBScriptError_GetSourcePosition (001C59B0)->(00000000
004310C4 004310C0)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list