Skip to content

Correctly lowercase lvt #36

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

Merged
merged 1 commit into from
May 11, 2025
Merged

Correctly lowercase lvt #36

merged 1 commit into from
May 11, 2025

Conversation

lynxplay
Copy link
Contributor

Codebook uses toLowerCase for fully upper-cased type names like UUID.
The call uses the default locale, which might incorrectly map characters
like 'I' to lowercase versions that are not 'i'.
This prevents further patching of the mache sources.

Correctly specify the ROOT locale instead, making the logic independent
from the JVM default locale.

Codebook uses toLowerCase for fully upper-cased type names like UUID.
The call uses the default locale, which might incorrectly map characters
like 'I' to lowercase versions that are not 'i'.
This prevents further patching of the mache sources.

Correctly specify the ROOT locale instead, making the logic independent
from the JVM default locale.
Copy link
Member

@MiniDigger MiniDigger left a comment

Choose a reason for hiding this comment

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

Languages were a mistake.
I assume you checked all other places in codebook?

@lynxplay
Copy link
Contributor Author

Yea that is the only usage of String#toLowerCase or String#toUpperCase in the project.
Character#toUpper/Lower has a lot of usages, however that context cannot really do locale.

@lynxplay lynxplay merged commit e3dc72d into main May 11, 2025
2 checks passed
@lynxplay lynxplay deleted the bugfix/lowercasing branch May 11, 2025 19:49
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.

4 participants