'python'에 해당되는 글 1건

  1. 2010.01.04 Python 유니코드 인코딩간 변환
Python2010. 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')
Posted by houdinist