Python3 is very different from Python2 when it comes to handling of strings and bytes.
Therefore, a simple invocation of 2to3 does not suffice.
Byte-strings have to be decoded and strings to be encoded.
In my attached patch, I use "latin-1". This might be changed to "utf-8" if one uses file names
which contain characters only present in utf-8.
eio_cli_Python3.patch.zip
I personally would support updating eio_cli to Python3. I just don't know why this wasn't made as a pull request.
Also utf-8 is pretty the standard for Linux in general.
Python3 is very different from Python2 when it comes to handling of strings and bytes. Therefore, a simple invocation of 2to3 does not suffice. Byte-strings have to be decoded and strings to be encoded. In my attached patch, I use "latin-1". This might be changed to "utf-8" if one uses file names which contain characters only present in utf-8. eio_cli_Python3.patch.zip