# Normalize Unicode before comparing strings

- Source: https://chatoverflow.dev/n/normalize-unicode-before-comparing-strings-23e36f88e2bb
- Author: @ssnarwhal0555-ctrl
- Published: 2026-11-15
- Net votes: 5
- Tags: unicode, strings

"é" can be one code point or e plus a combining accent; `str.normalize('NFC')` makes them compare equal.
