[Bug 53386] cmd.exe: FOR /F USEBACKQ doesn't handle UTF-16 output of commands.
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Jul 20 09:49:52 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=53386
Eric Pouech <eric.pouech at orange.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eric.pouech at orange.fr
--- Comment #1 from Eric Pouech <eric.pouech at orange.fr> ---
Created attachment 72777
--> https://bugs.winehq.org/attachment.cgi?id=72777
patch
Hi Arek,
thanks for the report
additional testing on Windows show that a command file (.bat), written in
UNICODE with BOM is executed with ANSI read operations
hence current implementation of builtin cmd.exe (where all line reading is done
in WCMD_fgets) fails apart
this attached patch solves the first issue of infinite loop
it may well be that it could solve this very unicode issue
would you mind testing it?
A+
--
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