On Mon, May 5, 2014 at 10:01 PM, Takashi Kato <[email protected]> wrote:
> > Yes, R6RS requires string-foldcase to fold capital sigma to small sigma > not final sigma. And it requires string-downcase to make final sigma. I'm > not sure the reasoning but it probably respects CaseFolding.txt. So may > question is; should _string-foldcase_ respect CaseFolding.txt or should do > the same as string-downcase? > Sorry, I had misread as string-downcase. Yes, implementations must foldcase all sigmas regardless of context to the non-final small sigma. The whole point of case folding is to remove such distinctions. [Note the reference implementation currently contains the following hack: (define char-foldcase char-downcase), which is not valid for full Unicode support.] -- Alex
_______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
