Created
January 24, 2018 21:24
-
-
Save anonymous/0f21e139ae10c8c7996e7c056d686a7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dev ~/test/iswprint]$ ./a.out | |
alnum:0x400100, cntrl:0x200, ideogram:0x80000, print:0x40000, space:0x4000, xdigit:0x10000, alpha:0x100, digit:0x400, lower:0x1000, punct:0x2000, special:0x100000, blank:0x20000, graph:0x800, phonogram:0x200000, rune:0xffffff00, upper:0x8000, | |
Default Locale is: C | |
Character 0x64 is in classes: alnum print xdigit alpha lower graph rune | |
in C locale, iswprint(0x64) = 1 | |
in en_US.UTF-8 locale, iswprint(0x64) = 1 | |
in ja_JP.UTF-8 locale, iswprint(0x64) = 1 | |
Character 0x2002 is in classes: space rune | |
in C locale, iswprint(0x2002) = 0 | |
in en_US.UTF-8 locale, iswprint(0x2002) = 0 | |
in ja_JP.UTF-8 locale, iswprint(0x2002) = 0 | |
Character 0xff08 is in classes: rune | |
in C locale, iswprint(0xff08) = 0 | |
in en_US.UTF-8 locale, iswprint(0xff08) = 0 | |
in ja_JP.UTF-8 locale, iswprint(0xff08) = 0 | |
Character 0x2002 is in classes: space rune | |
in C locale, iswprint(0x2002) = 0 | |
in en_US.UTF-8 locale, iswprint(0x2002) = 0 | |
in ja_JP.UTF-8 locale, iswprint(0x2002) = 0 | |
Character 0x82 is in classes: cntrl rune | |
in C locale, iswprint(0x82) = 0 | |
in en_US.UTF-8 locale, iswprint(0x82) = 0 | |
in ja_JP.UTF-8 locale, iswprint(0x82) = 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment