pywinauto / SWAPY

not maintained any more (will be replaced by py_inspect)
https://github.com/pywinauto/py_inspect
271 stars 66 forks source link

SWAPY cannot display Chinese. #77

Closed aristotll closed 8 years ago

aristotll commented 8 years ago

I tried to use English path or English softwares. But there are times when I have to use Chinese ones which cannot be displayed right. Even swapy can displays the characters in Unicode just like in my picture.

But there are always ?? on left columns. I wonder if this small problem can be solved. Thanks.

OK, I cannot upload the picture in github(after many times), please visit here https://www.flickr.com/photos/138319215@N03/

moden-py commented 8 years ago

Thank @aristotll for the description. Can you upload an empty text file with Chinese name like at the picture? I would test it on my side. Thanks.

aristotll commented 8 years ago

"娱乐" @moden-py. Thanks.

moden-py commented 8 years ago

@aristotll, I managed to reproduce the problem. It seems like I do extra unicode - string encoding. Please try the fix from our CI server 32bit - https://ci.appveyor.com/project/moden-py/swapy-pwvh2/build/job/10x48a4nqbrhexjl/artifacts 64bit - https://ci.appveyor.com/project/moden-py/swapy-pwvh2/build/job/raq5k4fc86u77snj/artifacts

aristotll commented 8 years ago

It works. @moden-py. Thanks.

moden-py commented 8 years ago

@aristotll, thank you too.