LANGUAGE » PYTHON » PACKAGE

Unicodedata

Usage ​

Normalize a string.

python
import unicodedata
mystring = unicodedata.normalize('NFC', u'こんにちは')