[Bug 52833] New: Wine's wscript.exe and cscript.exe don't support UTF-16 LE with BOM script files
https://bugs.winehq.org/show_bug.cgi?id=52833 Bug ID: 52833 Summary: Wine's wscript.exe and cscript.exe don't support UTF-16 LE with BOM script files Product: Wine Version: 7.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wscript Assignee: wine-bugs(a)winehq.org Reporter: devscholar(a)foxmail.com Distribution: --- Wine's wscript.exe and cscript.exe don't support UTF-16 LE with BOM script files. Microsoft's does. This feature is used to create Unicode scripts. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52833 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- Please provide a sample text file/instructions to reproduce the issue. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52833 --- Comment #2 from devscholar(a)foxmail.com --- Created attachment 72226 --> https://bugs.winehq.org/attachment.cgi?id=72226 UTF16 LE encoded script file. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52833 --- Comment #3 from devscholar(a)foxmail.com --- BOM is not necessary. In Windows, you can also create a utf-8 encoded *.wsf file. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52833 --- Comment #4 from devscholar(a)foxmail.com --- Reference:http://fanyi.baidu.com/transpage?query=https://demon.tw/programming/vbs-file... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52833 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Status|NEEDINFO |NEW --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- (In reply to devscholar from comment #2)
Created attachment 72226 [details] UTF16 LE encoded script file.
Confirming. austin(a)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(a)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(a)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.
https://bugs.winehq.org/show_bug.cgi?id=52833 --- Comment #6 from devscholar(a)foxmail.com --- Thank you for working on it. I also hope to execute UTF-8 encoded scripts, with or without BOM. -- 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.
participants (1)
-
WineHQ Bugzilla