[tools][vsc] Support Chinese path

This commit is contained in:
SummerGift 2019-01-10 10:36:14 +08:00
parent 59ebd512fe
commit a4a0642a82
1 changed files with 2 additions and 2 deletions

View File

@ -64,13 +64,13 @@ def GenerateCFiles(env):
json_obj = {}
json_obj['configurations'] = [config_obj]
vsc_file.write(json.dumps(json_obj, indent=4))
vsc_file.write(json.dumps(json_obj, ensure_ascii=False, indent=4))
vsc_file.close()
return
def GenerateVSCode(env):
print('Update setting files for VSCode...'),
print('Update setting files for VSCode...')
GenerateCFiles(env)
print('Done!')