> the "unicodenames" patch (which replaces ucnhash) includes this > functionality -- but with a little distance, I think it's better to add > it to the unicodedata module. >=20 > (it's included in the step 4 patch, soon to be posted to a patch > manager near you...) Sounds good. Is there any chance to use this in codecs, then? I'm thinking of >>> print u"\N{COPYRIGHT SIGN}".encode("ascii-ucn") \N{COPYRIGHT SIGN} >>> print u"\N{COPYRIGHT SIGN}".encode("latin-1-ucn") =A9 Regards, Martin P.S. Some people will recognize this as the disguised question 'how can I convert non-convertable characters using the XML entity notation?'
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4