artbycrunk / vscode-maya

A Visual Studio Code extension with support for coding for Maya.
MIT License
45 stars 9 forks source link

can't send Non-ASCII character, even though they're in the comments #5

Closed g2mXagent closed 5 years ago

g2mXagent commented 5 years ago

code like here: print("python code") # 這是中字 send python code to maya, error in maya script editor: # Error: line 1: SyntaxError: file <maya console> line 1: Non-ASCII character '\xe6' in file C:/Users/Lee/AppData/Local/Temp/MayaCode.py on line 6, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details # maybe its the solution: when send code to maya, temporarily remove all comments.

artbycrunk commented 5 years ago

hi @g2mXagent this is an interesting issue. let me test it at my end and see how to solve.

artbycrunk commented 5 years ago

Hi @g2mXagent, this is fixed in the latest version 1.0.1

g2mXagent commented 5 years ago

thank you! already update.

Savio Fernandes notifications@github.com 于2019年6月6日周四 下午11:29写道:

Hi @g2mXagent https://github.com/g2mXagent, this is fixed in the latest version 1.0.1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/artbycrunk/vscode-maya/issues/5?email_source=notifications&email_token=AAGCG5O5PTXFROXRUYKTXY3PZEUMFA5CNFSM4HTPU3U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDHFUI#issuecomment-499544785, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGCG5IRVBL747JACWFNAU3PZEUMFANCNFSM4HTPU3UQ .