unicode support

Matt Garrish matthew.garrish at sympatico.ca
Sun Jan 9 13:19:19 EST 2005

<xah at xahlee.org> wrote in message 
news:1105259315.471816.291600 at c13g2000cwb.googlegroups.com...
# -*- coding: utf-8 -*-
# python supports unicode in source code by putting a coding
# as the first line.
print "look chinese chars: ?????"

# Note, however, identifiers cannot use unicode chars.
# e.g. you cannot define a function with unicode char.

So why are you posting to a Perl newsgroup? You can "use utf8" if you want 
to write your Perl programs in utf-8 (though you should upgrade to 5.8 as 
well). Or is this your lame attempt at trolling at python group?


More information about the Python-list mailing list