[Bug 52833] Wine's wscript.exe and cscript.exe don't support UTF-16 LE with BOM script files

WineHQ Bugzilla wine-bugs at winehq.org
Mon Apr 18 15:57:49 CDT 2022


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

Austin English <austinenglish at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download, testcase
             Status|NEEDINFO                    |NEW

--- Comment #5 from Austin English <austinenglish at gmail.com> ---
(In reply to devscholar from comment #2)
> Created attachment 72226 [details]
> UTF16 LE encoded script file.

Confirming.

austin at hyrule:~/Downloads$ wine wscript.exe utf16le.vbs 
0118:fixme:vbscript:do_icall L"m" not found
0118:fixme:wscript:ActiveScriptSite_OnScriptError ()


and no msgbox pops up. With an ascii source file, it works:
austin at hyrule:~/Downloads$ wine wscript.exe foo.vbs 
00f4:fixme:imm:ImeSetActiveContext (0x46a9b8, 1): stub
00f4:fixme:imm:ImmReleaseContext (0001005E, 0046A9B8): stub
0050:fixme:imm:ImeSetActiveContext (0x4aa3a0, 0): stub
0050:fixme:imm:ImmReleaseContext (00010020, 004AA3A0): stub

austin at hyrule:~/Downloads$ cat foo.vbs 
msgbox("hello")

-- 
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