788054c2
by Lokesh Poovaragan at 2026-07-21T23:08:07+02:00
wscript: Support UTF-16 LE encoded script files.
Use IsTextUnicode() to detect UTF-16 LE encoding, including BOM
detection and heuristic analysis. When detected, the data is used
directly since Windows uses UTF-16 LE natively. Files without Unicode
encoding fall back to CP_ACP as before.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52833