Automatic ANSI<>Unicode message translation

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 26 02:04:22 CDT 2005


"Phil Krylov" <phil at newstar.rinet.ru> wrote:

> Translate Unicode<->ANSI message wParams only when window type
> (ANSI/Unicode) does not match message handling function postfix
> (PeekMessageA/W etc.).

This patch is not correct. All messages which potentially go through wineserver
should be posted/sent via unicode. Perhaps map_wparam_AtoW and map_wparam_WtoA
should translate the whole wparam, i.e. both high and low bytes. What does
Windows do if the current locale is DBCS (Chinese/Japanese/Korean), does it
translate the whole wparam in that case?

-- 
Dmitry.




More information about the wine-devel mailing list