X
xah
# -*- coding: utf-8 -*-
# python supports unicode in source code by putting a coding
declaration
# 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.
---------
In perl, support of unicode is very flaky. The language does not
support it, but packages that changes behaviors of string handling (in
its regex, for instance.)
Xah
(e-mail address removed)
http://xahlee.org/PageTwo_dir/more.html
# python supports unicode in source code by putting a coding
declaration
# 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.
---------
In perl, support of unicode is very flaky. The language does not
support it, but packages that changes behaviors of string handling (in
its regex, for instance.)
Xah
(e-mail address removed)
http://xahlee.org/PageTwo_dir/more.html