Try Chardet(https://pypi.python.org/pypi/chardet)
(Need to change font)
chcp 65001
Want to get back?
chcp 949
# from http://acuros.pe.kr/?p=249
random.choice(["효","쨉","홰"]) in "너는 비도 안오는데 우산을 가지고 다니네" == True
'\xc2\xb5' in '\xb3\xca\xb4\xc2 \xba\xf1\xb5\xb5 \xbe\xc8\xbf\xc0\xb4\xc2\xb5\xa5 \xbf\xed \xb4\xd9\xb4\xcf\xb3\xd7'
한글자만 비교할때는 ..이런 문제가 생길 가능성이 높으므로 주의.
PYTHONIOENCODING = utf-8
PATH = PYTHON_INSTALL_DIR
http://stackoverflow.com/questions/492483/setting-the-correct-encoding-when-piping-stdout-in-python
https://www.facebook.com/groups/pythonkorea/permalink/650834588333039/?comment_id=650862954996869&offset=0&total_comments=5