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

Qian Hong fracting at gmail.com
Tue Nov 6 03:28:29 CST 2012


Hi Dmitry,

On Tue, Nov 6, 2012 at 3:59 PM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> It should be possible to specify a not localized font name. In general,
> wine.inf follows Windows format of .inf files, you should investigate
> how unicode is supposed to work inside of .inf files.

Thanks for advice!
Unfortunately I'm worrying about my google skills... I search for
storing unicode string in .inf files / .reg files, most related
samples are covered in [1],
but none of them match my purpose.

What I need is something like:
HKCU,Software\Wine\Fonts\Replacements,"\x5b8b\x4f53","WenQuanYi Micro Hei"
But I can't found anyway like that which works. I also check the code
in dlls/setupapi, there seems no code related to decode similar
strings into unicode.

Could you point out if I miss something? Any sample or reference is
great appreciated!

PS: The artical[1] referers to two books: Inside the Registry for
Windows 95 by Günter Born and The Windows 98 Registry by John Woram,
but I can't get them right now.

[1] http://franck.kiechel.free.fr/dbr_eng/RegInf.htm

--
Regards,
Qian Hong

-
Sent from Ubuntu
http://www.ubuntu.com/



More information about the wine-devel mailing list