On Sat, Nov 16, 2019 at 3:42 PM Andy Wingo wrote:
> The expected result is "μέλοσ"; see R6RS libraries section 1.2. However
> instead Guile's result is "μέλος". Note that although Σ usually
> downcases to σ, at the end of a string it's ς.
More precisely, it downcases to σ if a letter follows
On Sat, Nov 16, 2019 at 09:41:05PM +0100, Andy Wingo wrote:
> Given the following example, using (rnrs unicode):
>
> (string-foldcase "ΜΈΛΟΣ")
Good catch. I think there's even a worse example: dotless
and dotted I [1]. Here it seems even impossible to do
up- and downcase correctly without knowi
Given the following example, using (rnrs unicode):
(string-foldcase "ΜΈΛΟΣ")
The expected result is "μέλοσ"; see R6RS libraries section 1.2. However
instead Guile's result is "μέλος". Note that although Σ usually
downcases to σ, at the end of a string it's ς. This test shows a
limitation of