Resend: implement _ismbcalpha, _ismbcalnum

Dmitry Timoshkov dmitry at baikal.ru
Tue Nov 12 18:43:35 CST 2002


"Greg Turner" <gmturner007 at ameritech.net> wrote:

> +int _ismbcalpha(unsigned int ch)
> +{
> +  if (ch < 0x100)
> +    return ((0x41 <= ch && ch <= 0x5a) ||
> +            (0x61 <= ch && ch <= 0x7a) ||
> +            /* Japanese/Katakana, CP 932 */
> +            (0xa6 <= ch && ch <= 0xdf));
> +  else
> +    {
> +      FIXME("Handle MBC chars\n");
> +      return 0;
> +    }
> +}

It's better to create a correct multibyte character pair and call
GetStringType then.

-- 
Dmitry.






More information about the wine-devel mailing list