daneads / pycallgraph2

pycallgraph2 is a maintained fork of pycallgraph, a Python module that creates call graphs for Python programs.
GNU General Public License v2.0
219 stars 34 forks source link

can not work in gbk #7

Closed ppcfish closed 5 years ago

ppcfish commented 5 years ago

file: pycallgraph2/scripts/pycallgraph line23: __file_content = open(__config.command).read()

should be:__file_content = open(__config.command, encoding='utf-8').read()