Closed lingyicheng closed 2 years ago
I am excited to find a solution, I can solve this problem by adding u in front of the Chinese string.
code like here:
print u'这是中文'
send python code to maya:
MayaCode [06:37:10][INFO] Sent python code to Maya...
MayaCode [06:37:10][RESPONSE]
MayaCode [06:37:47][INFO] Already active : Port 7001 on Host localhost for python
MayaCode [06:37:47][INFO] Sending selected python code to maya
MayaCode [06:37:47][INFO] Writing text to C:/Users/lingy/AppData/Local/Temp/MayaCode.py...
MayaCode [06:37:47][INFO] Executing python("execfile('C:/Users/lingy/AppData/Local/Temp/MayaCode.py')")...
MayaCode [06:37:47][INFO] python("execfile('C:/Users/lingy/AppData/Local/Temp/MayaCode.py')")
MayaCode [06:37:47][INFO] Sent python code to Maya...
MayaCode [06:37:47][RESPONSE]
MayaCode [06:37:47][RESPONSE] 中文
OK!perfect!
hi @lingyicheng, do you still have this issue? or does that unicode fix work for you?
hi @artbycrunk,Thank you very much for providing this plugin.,there is no have this issue now,but I have to add ’u‘ before each unicode,perfect if you can do that unicode fix work.
Closing this issue as there has been no activity in a long time, feel free to re-open the issue if required.
code like here:
print '这是中文'
send python code to maya: