[WideChar conversion improvements - 2/5] Implement new versions of wctomb and wcstombs

Colin Finck mail at colinfinck.de
Sun Jul 27 16:49:04 CDT 2008

  Implement new versions of wctomb and wcstombs, which consider the language
set by setlocale() and work according to all behaviours I could find when
testing under WinXP SP2.

  Also use codepage 1252 to emulate the "C" locale instead of the current
  According to MSDN, the "C" locale only consists of the first 128
characters and if we use codepage 1252 here, we can be sure that these
characters are mapped correctly.

Best regards,

Colin Finck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Implement-new-versions-of-wctomb-and-wcstombs-which.patch
Type: application/octet-stream
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080727/6c2ce6b5/attachment.obj 

More information about the wine-patches mailing list