1 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
6 #include "categories.h"
9 iswprint_l (wint_t c
, struct __locale_t
*locale
)
12 c
= _jp2uc_l (c
, locale
);
13 enum category cat
= category (c
);
15 && cat
!= CAT_Cc
&& cat
!= CAT_Cf
16 && cat
!= CAT_Cs
// Surrogate
19 return c
< (wint_t)0x100 ? isprint (c
) : 0;
20 #endif /* _MB_CAPABLE */