[ https://issues.apache.org/jira/browse/THRIFT-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell resolved THRIFT-1059. ---------------------------------- Resolution: Duplicate Duplicate of THRIFT-557 > add utf8 coding header to generated file > ---------------------------------------- > > Key: THRIFT-1059 > URL: https://issues.apache.org/jira/browse/THRIFT-1059 > Project: Thrift > Issue Type: Improvement > Components: Python - Compiler > Reporter: david han > > the generated the py file dosn't containts the conding type, > that when the thrift file containts the another language string as the > document or comment , the generated file cannot running. > please add the coding type at the header of the python file just like: > # -*- coding: utf-8 -*- -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira