Unicode字符串练习报错
# encoding: utf-8
print u'''静夜思
床前明月光,
疑是地上霜。
举头望明月,
低头思故乡。'''
这没有错啊:为什么会报以下错误:
Traceback (most recent call last):
File "index.py", line 7, in
低头思故乡。'''
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)