http://bugs.winehq.org/show_bug.cgi?id=60139 Bug ID: 60139 Summary: cmd's type cannot handle UTF-8/16 correctly Product: Wine Version: 11.14 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, localization, source Severity: trivial Priority: P2 Component: cmd Assignee: wine-bugs@list.winehq.org Reporter: imwellcushtymelike@gmail.com Target Milestone: --- Distribution: --- Created attachment 81736 --> http://bugs.winehq.org/attachment.cgi?id=81736 Simple file Wine's cmd's "type" built-in produces strings of nonsense when reading files encoded as UTF-8 or UTF-16, presumably anything non-ASCII. Attached is a simple file encoded as UTF-8. Another example is using regedit /e to export keys from the registry, which are encoded as UTF-16LE. $ wine cmd
type file A very simple file ^┬┤├ƒ┼é─æ\}╦Ç─æÔåÆ├ª├ƒ─º─æ[Ôåô├ª┬¿
The same file (or registry export) on Windows 10/11 look fine. Adding a BOM doesn't seem to help (Bug 56160), and the BOM itself simply prints as more garbage: ´╗┐A very simple 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.