Closed nibe closed 5 years ago
Thanks for the PR! This seems like a good change to make. I think we should add a few test cases just to be certain that it works with characters above the BMP range.
There you go.
Looks good, thanks again!
Thanks for the Clojars update!
(char/upper-case "𐐬")
now returns "𐐄"
instead of raising IllegalArgumentException: Value out of range for char: 66564
, which will be useful for my project.
Character/toLowerCase
,Character/toUpperCase
andCharacter/toTitleCase
support code points of supplementary characters so I removed the limitation to BMP usingchar'
.