qmasingarbe / pymiere

Python for Premiere pro
GNU General Public License v3.0
363 stars 46 forks source link

Garbled characters appear in Chinese #2

Closed qazwsdc closed 4 years ago

qazwsdc commented 4 years ago

example:

project = pymiere.objects.app.project
r=project.activeSequence.videoTracks
print ( r[0].clips[0].name )

There will be garbled if the clip name have non English character

qmasingarbe commented 4 years ago

Hi, Thank you for reporting this bug. The issue has now been fixed. I invite you to pull or re-download the Pymiere python library, especially the pymiere/core.py file containing the fix. The code you mentioned above should now work with Chinese or other characters such as letter with accents. Let me know if everything worked fine.