some ntdll functions [Virus checked]

Dmitry Timoshkov dmitry at baikal.ru
Tue Jan 28 22:03:10 CST 2003


<thomas.mertes at t-mobile.at> wrote:

> --- old_wine-20030115/dlls/ntdll/rtlstr.c     Tue Nov 12 03:17:34 2002
> +++ new_wine-20030115/dlls/ntdll/rtlstr.c     Sun Jan 26 00:03:56 2003
> @@ -516,6 +516,15 @@
>  */
> 
> 
> /**************************************************************************
> + *  RtlUpperChar   (NTDLL.@)
> + */
> +CHAR WINAPI RtlUpperChar( CHAR ch )
> +{
> +    return toupper(ch);
> +}

It's better to avoid using locale dependent functions from an underlying
system because Wine internal code page almost always is different from OS
locale. The way to go is convert to unicode, do desired things, and convert
the result back to ansi.

-- 
Dmitry.






More information about the wine-devel mailing list