Passion/Python
Python 한글 utf-8 사용시
sunshout1
2007. 6. 29. 17:30
이런 예러가 낫을 경우
"UnicodeEncodeError: 'ascii' codec can't encode characters
in position 0-6: ordinal not in range(128)".
s = s.encode('utf-8')
728x90