Changeset 1003
- Timestamp:
- Jan 18, 2004, 10:10:14 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/locale/setlocale.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1002 r1003 462 462 { 463 463 UniChar ucs; 464 unsigned char ct = 0, uc, lc; 464 unsigned short ct = 0; 465 unsigned char uc, lc; 465 466 466 467 if (!__to_ucs (uconv_obj, (unsigned char *)&i, 1, &ucs)) … … 469 470 /* isxxx() do not support DBCS characters at all */ 470 471 if (!IS_MBCS_PREFIX (__locale_ctype,i)) 471 { 472 { /* isn't there apis for getting all this at once? */ 473 #if 0 472 474 if (UniQueryUpper (locale_obj, ucs)) 473 475 ct |= __UPPER; … … 488 490 if (UniQueryBlank (locale_obj, ucs)) 489 491 ct |= __BLANK; 492 #else 493 UNICTYPE * pctype = UniQueryCharType (ucs); 494 if (pctype) 495 /* ASSUMES CT_* == __* */ 496 ct = (pctype->itype) & (__UPPER | __LOWER | __DIGIT | __SPACE | 497 __PUNCT | __CNTRL | __BLANK | __XDIGIT | 498 __ALPHA | __ALNUM | __GRAPH | __PRINT | 499 __NUMBER | __SYMBOL | __ASCII); 500 501 #endif 490 502 491 503 uc = Transform (locale_obj, uconv_obj, UniTransUpper, ucs, i); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.