You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rich Felker
4674809bdf
fix case mapping for U+00DF (ß)
U+00DF ('ß') has had an uppercase form (U+1E9E) available since
Unicode 5.1, but Unicode lacks the case mappings for it due to
stability policy. when I added support for the new character in commit
1a63a9fc30 , I omitted the mapping in the
lowercase-to-uppercase direction. this choice was not based on any
actual information, only assumptions.
this commit adds bidirectional case mappings between U+00DF and
U+1E9E, and removes the special-case hack that allowed U+00DF to be
identified as lowecase despite lacking a mapping. aside from strong
evidence that this is the "right" behavior for real-world usage of
these characters, several factors informed this decision:
- the other "potentially correct" mapping, to "SS", is not
representable in the C case-mapping system anyway.
- leaving one letter in lowercase form when transforming a string to
uppercase is obviously wrong.
- having a character which is nominally lowercase but which is fixed
under case mapping violates reasonable invariants.
12 years ago
..
__ctype_b_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
__ctype_get_mb_cur_max.c
include cleanups: remove unused headers and add feature test macros
13 years ago
__ctype_tolower_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
__ctype_toupper_loc.c
include cleanups: remove unused headers and add feature test macros
13 years ago
alpha.h
destubify iswalpha and update iswpunct to unicode 6.1
14 years ago
isalnum.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isalpha.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isascii.c
initial check-in, version 0.5.0
15 years ago
isblank.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iscntrl.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isgraph.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
islower.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isprint.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
ispunct.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isspace.c
add inline isspace in ctype.h as an optimization
12 years ago
isupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswalnum.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswalpha.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswblank.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswcntrl.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswctype.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswgraph.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswlower.c
fix case mapping for U+00DF (ß)
12 years ago
iswprint.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswpunct.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswspace.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
iswxdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
isxdigit.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
nonspacing.h
new wcwidth implementation (fast table-based)
14 years ago
punct.h
fix spurious punct class for some surrogate codepoints (invalid)
14 years ago
toascii.c
initial check-in, version 0.5.0
15 years ago
tolower.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
toupper.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
towctrans.c
fix case mapping for U+00DF (ß)
12 years ago
wcswidth.c
initial check-in, version 0.5.0
15 years ago
wctrans.c
consolidate *_l ctype/wctype functions into their non-_l source files
12 years ago
wcwidth.c
make some arrays const
13 years ago
wide.h
fix broken wcwidth tables
14 years ago