26 Dec
2019
26 Dec
'19
3:14 p.m.
Hi Chip, On 12/12/19 12:23 AM, Chip Davis wrote:
+/********************************************************************* + * _iswctype_l (MSVCRT.@) + */ +int CDECL MSVCRT__iswctype_l(MSVCRT_wchar_t wc, MSVCRT_wctype_t type, MSVCRT__locale_t locale) +{ + int ret = (get_char_typeW(wc) & 0xffff) & type; + +#if _MSVCR_VER >= 140 + if (wc == '\t' || wc == 0x00a0) ret &= ~MSVCRT__BLANK; +#endif I think that the function should use _pwctype table for wc <= 256. A quick look on the tables exported from ucrtbase and msvcr90 shows that there are more differences.
Thanks, Piotr