https://bugs.winehq.org/show_bug.cgi?id=56160 Bug ID: 56160 Summary: Kernel32: Unable to determine encoding format without [BOM] sequence.(PROFILE_DetectTextEncoding) Product: Wine Version: 9.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: zmtong1988(a)gmail.com Distribution: --- Question: 1. Open the [UTF-8] encoding file, and if there is no [BOM] sequence, recognize it as [ENCODING-ANSI] through [PROFILE-DetectTextEncoding] instead of [UTF-8]. 2. Open the [UTF-16 LE] encoding file, and if there is no [BOM] sequence, recognize it as [ENCODING-ANSI] through [PROFILE-DetectTextEncoding] instead of [UTF-16 LE]. Function execution process: [ dlls/kenel32/profile. c ] --> [ PROFILE_ Open ] -->[ PROFILE_ Load ] -->[ PROFILE-DetectTextEncoding ] Description: Open a file in [UTF-16 LE] encoding format and execute [ PROFILE_ DetectTextEncoding ]always returns [ ENCODING-ANSI ], and subsequent parsing work cannot be completed according to the encoding format. -- 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.