Skip to content

Correctly lowercase lvt#36

Merged
lynxplay merged 1 commit intomainfrom
bugfix/lowercasing
May 11, 2025
Merged

Correctly lowercase lvt#36
lynxplay merged 1 commit intomainfrom
bugfix/lowercasing

Conversation

@lynxplay
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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