I learned a couple of things about Unicode today:

1. Python has a named character escape in Unicode strings:

>>> u'\N{MIDDLE DOT}'
u'\xb7'

2. The Unicode Consortium maintains authoritative parsable data files describing various aspects of Unicode and its myriad characters: Unicode Character Database.

tagged: , » react

Comments

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.