1 /* Modified (m) 2017 Thomas Wolff: revise Unicode and locale/wchar handling */
5 #include "categories.h"
8 iswgraph_l (wint_t c
, struct __locale_t
*locale
)
11 //return iswprint (c, locale) && !iswspace (c, 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
18 && cat
!= CAT_Zl
&& cat
!= CAT_Zp
// Line/Paragraph Separator
21 return iswprint_l (c
, locale
) && !iswspace_l (c
, locale
);
22 #endif /* _MB_CAPABLE */