Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repair char-foldcase for some single-character special cases #740

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

mflatt
Copy link
Contributor

@mflatt mflatt commented Oct 22, 2023

For example, (char-foldcase #\x1E9E) should be #\xDF, in contrast to the (string-foldcase (string #\x1E9E)) result of "ss". The character foldings that that are different here correspond to cases that are "S" status in "CaseFolding.txt".

Thanks to Marc Feeley for noticing and reporting the bug.

Also, repair some dependencies in "s/build.zuo".

mats/5_4.ms Outdated
@@ -590,6 +590,9 @@
(error? (char-foldcase 'a))
(eqv? (char-foldcase #\a) #\a)
(eqv? (char-foldcase #\Z) #\z)
(eqv? (char-foldcase #\Z) #\z)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The #\Z case is a duplicate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in a new push - thanks!

For example, `(char-foldcase #\x1E9E)` should be `#\xDF`, in contrast
to the `(string-foldcase (string #\x1E9E))` result of "ss". The
character foldings that that are different here correspond to cases
that are "S" status in "CaseFolding.txt".

Thanks to Marc Feeley for noticing and reporting the bug.

Also, repair some dependencies in "s/build.zuo".
@burgerrg burgerrg merged commit 63a7e1f into cisco:main Oct 23, 2023
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants