Previous: srfi strings ratio r5rs, Up: srfi strings ratio [Index]
This SRFI recommends the following:
Alternatively, a data structure specifying collation rules could be activated with dynamic scope by special procedures, possibly overridden by allowing collation rules to be optional arguments to procedures that need to order strings, e.g.
(with-locale* denmark-locale (lambda () (f x) (g 42))) (with-locale taiwan-locale (f x) (h denmark-locale) (g 42)) (set-locale! denmark-locale)
char-upcase
and
char-downcase
should be defined to use the one–to–one
locale–insensitive and context–insensitive case mappings given by
Unicode’s UnicodeData.txt table.
char-titlecase
be added to char-upcase
and
char-downcase
.
char-titlecase?
be added to char-upcase?
and
char-downcase?
.
These recommendations are not a part of the SRFI-13 spec. Note also that requiring a Unicode/Latin-1/ASCII interface to integer/char mapping functions does not imply anything about the actual underlying encodings of characters.
Previous: srfi strings ratio r5rs, Up: srfi strings ratio [Index]