On 1 April 2018 at 03:16, MRAB <pyt...@mrabarnett.plus.com> wrote: > On 2018-04-01 02:50, Mikhail V wrote: >> >> Steven D'Aprano writes: >> >>>> >>>> PS: was looking forward to PIP improvements on Windows, on 9.0.3 still >>>> some issues. E.g. trying to redirect output from 'pip search ... > >>>> a.txt' gives a wall of errors. it's on Windows 10. >>> >>> >>> >>> >>> Don't be shy, tell us what those errors are. >> >> >> >> You meant - don't be lazy to figure out how to reproduce it. >> >> UnicodeEncodeError: 'charmap' codec can't encode character >> >> when it meets a non-ascii char. >> >> e.g. tried this: >> pip search pygame > a.txt >> > Well, _I_ didn't get an error! > > One of the lines is: > > kundalini (0.4) - LրVE-like PyGame API > > So it's down to what system encoding (active code page) is in use.
As noted in the announcement, please feel free to report the issue. We fixed a lot of encoding errors for pip 10, but it's quite possible that we missed this as no-one reported it. We'll need clear instructions on how to reproduce it, as it doesn't fail for me (Windows 10, pip 10.0.0b1, Python 3.6, Powershell shell): >py -m pip search kundalini kundalini (0.4) - LÖVE-like PyGame API Paul -- https://mail.python.org/mailman/listinfo/python-list