http://bugs.winehq.org/show_bug.cgi?id=32136
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2012-11-06 11:04:54 CST --- (In reply to comment #9)
even if UTF-8 could possibly work in .inf files, which is doubtful.
We support three encoding of .inf files, ANSI, UTF8 with BOM, and UCS-16, you could either take a look at dlls/setupapi/parser.c:parse_file() or create real .inf files with these encoding and test by hand.
Ok, I wasn't aware of that. If it's supported way to use .inf files it's probably okay if it's a part of API that is supposed to work this way. What I meant is that BOM is not useful for UTF-8, it doesn't depend on byte order and handles ANSI range. I thought you were trying to invent some workaround.