Skip to content

Conversation

@chhaugen
Copy link

@chhaugen chhaugen commented Jan 19, 2026

Hi ktsu!
I made a minor change to the library to suit my needs as a Norwegian.
We have ÆØÅ as additional letters in our language, and these were treated as special characters.
I'm not 100% about my changes, if they are production ready, but I'd love to get multi-lang support upstream.

Cheers!


Note

Adds Unicode-aware handling of letters across all case-conversion routines.

  • Replace ASCII-only regexes with Unicode character classes (\p{L}, \p{Lu}, \p{Ll}) in CaseConverter for non-alphanumeric filtering and case-change splitting
  • Add unit test validating ToMacroCase with Norwegian characters (e.g., "høye")

Written by Cursor Bugbot for commit 38257ab. This will update automatically on new commits. Configure here.

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.

1 participant