Monthly Archives: June 2017

proper std out encoding

including PYTHONIOENCODING and now you can use as follows: # read string from io(file or network) u = u’\uc5d4\uc9c4′ print u.encode(DEF_ENCODING) # ‘엔진’ Happy Coding~:)

Posted in python | Tagged | Leave a comment