Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

String#unicode_normalize!

(?:nfc | :nfd | :nfkc | :nfkd form) -> self
unicode_normalize!(form = :nfc) → self

Like String#unicode_normalize, except that the normalization is performed on self.

Related String#unicode_normalized?.