yakshaveinc / tasks

distributed roadmap
The Unlicense
1 stars 0 forks source link

Internationalized domain names (IDN) for HTTPie #1

Closed abitrolly closed 6 years ago

abitrolly commented 7 years ago
techtonik commented 7 years ago

Okay. Need to get https://stackoverflow.com/questions/846850/read-unicode-characters-from-command-line-arguments-in-python-2-x-on-windows/846931#846931 into HTTPie.

techtonik commented 7 years ago

Filled bug report - https://github.com/jakubroztocil/httpie/issues/572

techtonik commented 7 years ago

Now HTTPie can read sys.argv as unicode, but argparse fails.

techtonik commented 7 years ago

Typo in parameter passing made me waste 2 hours on debugging unicode decode issues that Python had trying to print error message back to me. argparse is not guilty.

techtonik commented 7 years ago

Done in 4 hours. Waiting for https://github.com/jakubroztocil/httpie/pull/573 to be merged. http GET 115.бел works correctly in Vista + Python 2.7

techtonik commented 6 years ago

Just don't use Python 2 and Windows.