how to print chinese word in my code.. using python
- by zjm1126
this is my code:
print '??'.decode('gb2312').encode('utf-8')
and it print :
SyntaxError: Non-ASCII character '\xe5' in file D:\zjm_code\a.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
how to print '??'
thanks