[Bug 39244] scrrun:filesystem BOM tests fail in the Korean and Chinese locales

WineHQ Bugzilla wine-bugs at winehq.org
Fri Nov 26 01:28:03 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=39244

Robert Wilhelm <sloper42 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sloper42 at yahoo.com

--- Comment #2 from Robert Wilhelm <sloper42 at yahoo.com> ---
In dlls/scrrun/filesystem.c append_read_data() we check if last char in buf is
IsDBCSLeadByte and move it to next read.
But if last char in textstream is LeadByte, it will be ignored.

Tests behave different, we do not check for leadbyte here.

This leads to test failure because second bom byte (0xFE) is Leadbyte in e.g.
CN locale.

-- 
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