strings: ToLower gives wrong result for uppercase Σ in the word-final position #33005
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/fEDCPSV7Dqi
What did you expect to see?
The program output should be
β︎δℕ︎ς
because if you lowercaseΣ
at the last position of the word it becomesς
. See https://en.wikipedia.org/wiki/SigmaWhat did you see instead?
The output is
β︎δℕ︎σ
.I am not sure it is the only case in all languages when lower case depends on the position. I just faced different behavior with python code:
The text was updated successfully, but these errors were encountered: