What's the problem if add toMBSz to tango.sys.win32 ?

Lars Ivar Igesund larsivar at igesund.net
Sat Apr 26 03:36:46 PDT 2008


Frits van Bommel wrote:

> Lars Ivar Igesund wrote:
> [snip]
> 
> I think what Yibadu is saying (and you're misunderstanding) is that
> Tango calls the *A functions with UTF-8 text, while they expect text in
> whatever the current codepage is.
> The way he proposes to fix this is by porting std.windows.charset.toMBSz
> from Phobos and using that to convert (or writing an equivalent function).
> 
> I haven't checked whether his claim is correct, but I'm pretty sure you
> didn't understand what he was saying. I hope I managed to express it
> more clearly.

Okay, thanks, that makes sense. It says little about which calls these are
though. Some (all?) has been fixed in SVN and/or noted in tickets - since
this is brought up again I wondered if there were others.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list