After reading: Dive into Python: Unicode Discussion
I got curious to try printing my name in the indic script. I am using v2.7.2 - 
>>> import sys
>>> sys.getdefaultencoding()
'ascii'
>>> name = u'\u0935\u0948\u092D\u0935'
>>> print name
वैभव
I was expecting print name to give me UnicodeError since the defaultencoding is set to ASCII so the auto-coercion to ASCII from Unicode shouldn't work.
What am I missing?
reis broken on Unicode. And you really can’t do it, because of the horrible UCS‐²⁄₄ heisenbugs in Python.