Developers-Hints wiki page: Character encoding in resource file translations
Frédéric Delanoy
frederic.delanoy at gmail.com
Mon Jun 22 11:10:26 CDT 2009
Hi all,
According to http://wiki.winehq.org/Developers-Hints on the
"http://wiki.winehq.org/Developers-Hints", AFAICT the resource
files should generally
- use the default Windows codepage for the specified language
or
- use UTF-8 surround with "#pragma code_page(65001)" at the top of the
file and "#pragma code_page(default)" at the bottom
Which of the encoding is preferred? UTF-8 ?
Furthermore,
- the "65001" should probably be replaced by "utf8" (I checked in
tools/wrc/parser.l:373) [ which would be better IMNSHO in new/updated
resource file]
- the link to the list of codepages is broken; it should be
http://msdn.microsoft.com/en-us/library/dd317756(VS.85).aspx
Frédéric
More information about the wine-devel
mailing list