EnhanceIO icon indicating copy to clipboard operation
EnhanceIO copied to clipboard

eio_cli does not work with Python3

Open HJarausch opened this issue 7 years ago • 1 comments

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

HJarausch avatar Nov 15 '17 12:11 HJarausch

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.

CPT-GrayWolf avatar Mar 28 '19 23:03 CPT-GrayWolf