boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

project path with chinese #43

Open sunyanhui opened 9 years ago

sunyanhui commented 9 years ago

When i start command like "python -m rfhub /path/to/测试项目" , I get a code error,

C:\Users\sun>python -m rfhub C:\Users\sun\测试项目 bummer: 'ascii' codec can't decode byte 0xb2 in position 31: ordinal not in rang e(128) bummer: 'ascii' codec can't decode byte 0xb2 in position 31: ordinal not in rang e(128) tornado web server running on http://127.0.0.1:7070

so the project path can't 传入 correctlly I modify the app.py, like this self.args.path[0] = self.args.path[0].decode('GBK')

it can work, but its only works in China, and on windows, I hope you can think 国际友人 ^_^

thank you very much

sunyanhui commented 9 years ago

no one respon me... :sob::sob::sob::sob::sob:

boakley commented 9 years ago

I apologize for not responding sooner. I will try to take a look at this but it will likely be difficult for me to solve since I live in the US and don't have a windows computer set up for a GBK locale. When I create a folder on my mac named /tmp/测试项目 I don't see the problem

sunyanhui commented 9 years ago

thanks for you response ^_^ , It doesn't matter for this problem , i can solve it, but the app only can running normally in US.. if in China, Janpan or other regions, they maybe get the same error like me. thank you very much again. best wish.