I'd actually prefer that we follow XPath's lead and perform no normalization in the strings. They do, however, offer a normalize-unicode function that can be used in such cases: http://www.w3.org/TR/xpath-functions/#func-normalize-unicode.

> I'd like to update the python version to normalize this situation

Can you show me an example of how you would do this in Python?