https://bugs.winehq.org/show_bug.cgi?id=38909
Bug ID: 38909 Summary: Notepad corrupts files saved as utf-8 without a byte order mark (BOM) Product: Wine Version: 1.1.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
Created attachment 51843 --> https://bugs.winehq.org/attachment.cgi?id=51843 screenshot
See attached screenshot and test files (from bug 18191).
https://bugs.winehq.org/show_bug.cgi?id=38909
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 51844 --> https://bugs.winehq.org/attachment.cgi?id=51844 notepad test files
https://bugs.winehq.org/show_bug.cgi?id=38909
Nguyen Chinh Huu huupoke12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huupoke12@gmail.com
--- Comment #2 from Nguyen Chinh Huu huupoke12@gmail.com --- Bug still happens on wine 5.4
http://bugs.winehq.org/show_bug.cgi?id=38909
--- Comment #3 from Janne janne.kekkonen@gmail.com --- Created attachment 78963 --> http://bugs.winehq.org/attachment.cgi?id=78963 test-utf8-nobom on notepad
tested with Wine 10.9. Still an issue. Attached screenshot of notepad with test-utf8-nobom.txt opened.
http://bugs.winehq.org/show_bug.cgi?id=38909
Maotong Zhang zmtong1988@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988@gmail.com
--- Comment #4 from Maotong Zhang zmtong1988@gmail.com --- Created attachment 79009 --> http://bugs.winehq.org/attachment.cgi?id=79009 Test patch
http://bugs.winehq.org/show_bug.cgi?id=38909
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #5 from Janne janne.kekkonen@gmail.com --- Created attachment 79037 --> http://bugs.winehq.org/attachment.cgi?id=79037 utf8-nobom_on_patched_notepad
Applied the patch to Wine 10.12. After patch text is shown in readable form.
Attached picture of utf8-nobom.txt openned with patched notepad, pluma and notepad on Windows 11.