Python
Python 유니코드 인코딩간 변환
houdinist
2010. 1. 4. 21:54
euc-kr을 utf-8로 변환
uniStr = unicode(mbStr, 'euc-kr').encode('utf-8')
utf-8을 euc-kr로 변환
mbStr = unicode(uniStr, 'utf-8').encode('euc-kr')