unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#38235: string-foldcase bug for trailing sigma
@ 2019-11-16 20:41 Andy Wingo
  2019-11-17 11:19 ` tomas
  2019-11-17 18:13 ` John Cowan
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Wingo @ 2019-11-16 20:41 UTC (permalink / raw)
  To: 38235

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 defining string-foldcase as simply (string-downcase
(string-upcase str)).





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-17 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-16 20:41 bug#38235: string-foldcase bug for trailing sigma Andy Wingo
2019-11-17 11:19 ` tomas
2019-11-17 18:13 ` John Cowan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).