The R Project SVN R

Rev

Rev 79794 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 79794 Rev 79801
Line 34... Line 34...
34
   in the comments.  The (slightly modified) version used is in the
34
   in the comments.  The (slightly modified) version used is in the
35
   top-level tools directory.
35
   top-level tools directory.
36
 
36
 
37
   Or look at the glibc sources (data in localedata/unicode-gen).
37
   Or look at the glibc sources (data in localedata/unicode-gen).
38
   That generates a file i18n_ctype via a Python script gen_unicode_ctype.py.
38
   That generates a file i18n_ctype via a Python script gen_unicode_ctype.py.
-
 
39
 
-
 
40
   Unicode 14.0 is expected ca 2021-09.
39
 */
41
 */
40
 
42
 
41
/* ------------------- iswalpha -------------------- */
43
/* ------------------- iswalpha -------------------- */
42
/* The C99 standard defines this as
44
/* The C99 standard defines this as
43
 
45
 
Line 2239... Line 2241...
2239
  +30000..3134A \
2241
  +30000..3134A \
2240
  +E000..F8FF +F0000..FFFFD +100000..10FFFD \
2242
  +E000..F8FF +F0000..FFFFD +100000..10FFFD \
2241
  c > print.h
2243
  c > print.h
2242
 
2244
 
2243
Some spaces are not printable (0x9..0xD), nor 2028..2029
2245
Some spaces are not printable (0x9..0xD), nor 2028..2029
-
 
2246
However, 200D (zero-width joiner) has to be, and is not in native macOS.
-
 
2247
 
2244
We regard private use ranges as printable: glibc does not.
2248
We regard private use ranges as printable: glibc does not.
2245
 */
2249
 */
2246
static const struct interval table_wprint[] = {
2250
static const struct interval table_wprint[] = {
2247
    { 0x20, 0x7e },
2251
    { 0x20, 0x7e },
2248
    { 0xa0, 0x377 },
2252
    { 0xa0, 0x377 },