About Combining Characters
In Unicode, characters with diacritical symbols sometimes might be stored as an ASCII letter and a diacritical symbol, for example: Ä
stored as A¨
.
To make sure that all your data is stored consistently for filtering, search, and character length checks, normalize the Unicode strings before saving them to the database:
1 2 |
|
Tips and Tricks Programming Python 3 Unicode