Skip to content

charsio documentation #1921

Answered by triska
mvolkmann asked this question in Q&A
Jul 26, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Let's ask Prolog:

?- length(_, N),
   char_code(C, N),
   char_type(C, whitespace).
   N = 9, C = '\t'
;  N = 10, C = '\n'
;  N = 11, C = '\v'
;  N = 12, C = '\f'
;  N = 13, C = '\r'
;  N = 32, C = ' '
;  N = 133, C = '\x85\'
;  N = 160, C = '\xa0\'
;  N = 5760, C = '\x1680\'
;  N = 8192, C = '\x2000\'
;  N = 8193, C = '\x2001\'
;  N = 8194, C = '\x2002\'
;  N = 8195, C = '\x2003\'
;  N = 8196, C = '\x2004\'
;  N = 8197, C = '\x2005\'
;  N = 8198, C = '\x2006\'
;  N = 8199, C = '\x2007\'
;  N = 8200, C = '\x2008\'
;  N = 8201, C = '\x2009\'
;  N = 8202, C = '\x200a\'
;  N = 8232, C = '\x2028\'
;  N = 8233, C = '\x2029\'
;  N = 8239, C = '\x202f\'
;  N = 8287, C = '\x205f\'
;  N = 12288, C…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mvolkmann
Comment options

@mvolkmann
Comment options

@triska
Comment options

Answer selected by mvolkmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants