[Bug 53386] New: cmd.exe: FOR /F USEBACKQ doesn't handle UTF-16 output of commands.
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Jul 20 04:10:02 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=53386
Bug ID: 53386
Summary: cmd.exe: FOR /F USEBACKQ doesn't handle UTF-16 output
of commands.
Product: Wine
Version: 7.13
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: cmd
Assignee: wine-bugs at winehq.org
Reporter: ahiler at codeweavers.com
Distribution: ---
Used by installation script of Septerra Core on Steam.
Easy reproducer:
FOR /F USEBACKQ %F IN (`wmic os get osarchitecture`) DO ECHO %F
Wmic output is UTF-16 and starts with BOM. On Windows the above snipped echoes
whatever wmic spits out. Currently on Wine it gets stuck in infinite loop.
The infinite loop is addressed by
https://gitlab.winehq.org/wine/wine/-/merge_requests/352 but UTF-16 is still
not handled at all.
--
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