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

Apply a map to consistently convert betwen lowercase and uppercase characters. #1161

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jrlanglois
Copy link

@jrlanglois jrlanglois commented Dec 7, 2022

This modifies juce::CharacterFunctions's assortment of case related methods to support a consistent, platform-agnostic, solution to uppercase and lowercase conversions, as well as determining if a particular set of bytes equates to a particular case (ie: is lower or is upper).

What's knowingly missing/would be a nice to have is a unit test to go through the combinations.

Context: https://forum.juce.com/t/br-string-touppercase-is-wrong/52353

@jrlanglois jrlanglois changed the title Applying a map to properly and consistently convert betwen lowercase and uppercase characters. Apply a map to properly and consistently convert betwen lowercase and uppercase characters. Dec 7, 2022
@jrlanglois jrlanglois changed the title Apply a map to properly and consistently convert betwen lowercase and uppercase characters. Apply a map to consistently convert betwen lowercase and uppercase characters. Dec 7, 2022
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.

None yet

1 participant