http://bugs.winehq.org/show_bug.cgi?id=16204
Summary: Registry: Missing MIME character set encoding Product: Wine Version: 1.1.9 Platform: PC-x86-64 OS/Version: Windows Vista Status: UNCONFIRMED Severity: enhancement Priority: P5 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: winehq.5.tahtu@spamgourmet.com
The Windows API does not offer a way to figure out the code page of a know character set name, used in MIME enviroment.
The MSDN suggest to use this hard coded table: http://msdn.microsoft.com/en-us/library/ms776446(VS.85).aspx
But inside Windows there is a way to figure out the translation by using the Registry. For example the code page of the "big5" character set can be taken by the following Registry Key:
[HKEY_CLASSES_ROOT\MIME\Database\Charset\Big5] "Codepage"=dword:000003b6 "InternetEncoding"=dword:000003b6
Unfortunately this Keys are not present in the Wine Registry.
Since there is no Windows API call to figure out this I suggest to add the related values into the Wine Registry.