An Extensive Look At Unicode In Python

| Comments

About once a year, I run into a problem where I need to sling Unicode (turns out scientists and math folks really dig those Greek characters). Inevitably, this means a few hours fumbling around with converting to and from Unicode, along with endless trolling though Unicode tables to verify I’m doing things right. If you have a minute, check out counting rod numerals in the “Other Ancient Scripts” section. Fascinating, and practical!

When you find yourself cursing Unicode, and you will, remember that you bookmarked this post that goes into great detail on how to use Python to handle Unicode.

Trust me. In six months you’re going to hit Unicode, and you’ll remember “Hey! I remember seeing something about this somewhere…if only I could remember…”

blog comments powered by Disqus