<div dir="ltr"><div>Nick Coghlan (ncoghlan at <a href="http://gmail.com">gmail.com</a>) on Sat Sep 3 12:27:44 EDT 2016 wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre>After also reading the Windows console encoding PEP, I realised
there's a couple of missing discussions here regarding the impacts on
sys.argv, os.environ, and os.environb.

The reason that's relevant is that "sys.getfilesystemencoding" is a
bit of a misnomer, as it's also used to determine the assumed encoding
of command line arguments and environment variables.</pre></blockquote><div><br></div><div>Regarding sys.argv, AFAIK Unicode arguments work well on Python 3. Even non-BMP characters are transferred correctly.<br><br><br>Adam BartoÅ¡ <br></div></div>