Java does not support Unicode, Python does

Sometimes Java just amazes me. As a friend of mine posted, Java does not support Unicode. Of course, my favourite language Python has a much friendlier approach to Unicode:

>>> s = '⿱𠂉乙'.decode('utf-8')
>>> s
>>> s[1]
>>> print s[1]

Perhaps,. people will some day start to understand that statically typed languages are not a guarantee of a bug-free application. In the end, it’s more important that a language does what it is supposed to do.

dr. Sybren A. Stüvel
dr. Sybren A. Stüvel
Open Source software developer, photographer, drummer, and electronics tinkerer