On Wed, 26 Sep 2001 09:40:00 -0400, Pete Collins <[EMAIL PROTECTED]> wrote:
>Alec Flett wrote:
>
>
>Since PRUnichar*'s are just wchar_t*'s, can't you convert to multibyte 
>string using libc wcstombs, walk through the char* converting each char 
>using toupper and tolower libc calls then convert back using mbstowcs?

PRUnichar*'s are not wchat_t's on at least linux. Linux uses 4 byte 
wchar_t's. Recent versions of gcc allow us to make the compiler believe 
that they are 2 bytes, to avoid runtime coversion penalties, but that 
doesn't change the OS supplied functions.

>
>--pete
>

Bradley

Reply via email to