https://bugs.winehq.org/show_bug.cgi?id=39244
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
--- Comment #2 from Robert Wilhelm sloper42@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.