Ruby string-methods reference.
Normalize Unicode strings to a consistent form (NFC, NFD, NFKC, NFKD) for reliable comparison and storage in Ruby.
str.unicode_normalize(form=:nfc)