[PATCH] tools/wine.inf.in: Added UTF8 bom header. (resend)

Qian Hong fracting at gmail.com
Wed Nov 7 10:03:40 CST 2012


Hi Dmitry,

On Wed, Nov 7, 2012 at 11:25 AM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> So, how is this supposed to work under Windows?

I wrote a test case, to my surprise, Windows doesn't support UTF8 .inf
file, no matter with or without BOM.
However, Windows support Little-endian UTF-16 Unicode .inf file.
The test case compiled with mingw-w64 and run on
https://testbot.winehq.org/JobDetails.pl?Key=22822

However, in git log I see such a commit:
commit 31ade1eb67e6b55f1b0c09ef7a806cd53652b1e2
Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar 21 13:52:43 2007 +0100

    setupapi: Add support for .inf files in utf-8 format.

Did I miss anything or was there a reason to add utf8 support for inf
files in Wine?

Thanks a lot!

--
Regards,
Qian Hong

-
Sent from Ubuntu
http://www.ubuntu.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-setupapi-inf.c
Type: text/x-csrc
Size: 3074 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20121108/c5f6ae66/attachment.c>


More information about the wine-devel mailing list