PEP0263 specifies a syntax to declare the encoding of a Python source file within the source file itself.
Is it possible to specify the encoding from the command line?
Or is there a reason why this might be undesirable?
I'm thinking of something like:
$ python --encoding utf-8 myscript.py
or even:
$ PYTHONSOURCEENCODING=utf-8 python myscript.py