[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Wrong charcter encoding in winmm-tests
From:       Francois Gouget <fgouget () free ! fr>
Date:       2012-02-27 0:02:23
Message-ID: alpine.DEB.2.02.1202270058180.4614 () amboise ! dolphin
[Download RAW message or body]

On Sun, 26 Feb 2012, Julian Rüger wrote:
[...]
> Then shouldn't most or all of those CP_ACPs (and CP_UTF8s) be replaced
> with CP_UNIXCP?

No. As I said, all the functions that end with an 'A' are supposed to 
return ANSI strings and thus must use CP_ACP. Remember that Wine is a 
Win32 API reimplementation so there are a lot of these Ansi functions.

Now the places where we actually have to deal with CP_UNIXCP are pretty 
rare. You'll have to dig deeper to find exactly why the wrong encoding 
is used in the winmm test. Maybe it is as simple as passing Ansi strings 
straight to the native printf implementation?

-- 
Francois Gouget <fgouget@free.fr>              http://fgouget.free.fr/
 "Only wimps use tape backup: _real_ men just upload their important stuff on
       ftp, and let the rest of the world mirror it ;)" -- Linus Torvalds



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic