https://bugs.winehq.org/show_bug.cgi?id=39244
--- Comment #5 from Robert Wilhelm sloper42@yahoo.com --- I plan to submit fixes for tests once my current patch https://source.winehq.org/patches/data/220837 is accepted.
filesystem.c:1529 could use same method as in this patch using ReadFile() to check contents of file.
For filesystem.c:1658: Test failed: got L"\f8f5\fa0f", 93 filesystem.c:1802: Test failed: got L"\f8f5\fa0f", expected L"\f8f5?" we have to take chars after BOM into account, because 0xfe is LeadByte in zh_CN locale.