Convert filenames to local encoding.
Non-printable (in the means of local encoding) characters should be escaped.
Right now everything >126, <32, and / is percent escaped.
Since we internally work with UTF-8, we just need a UTF-8 -> local_encoding encoder plus percent escaping to non-printable characters.
Convert filenames to local encoding. Non-printable (in the means of local encoding) characters should be escaped. Right now everything >126, <32, and / is percent escaped. Since we internally work with UTF-8, we just need a UTF-8 -> local_encoding encoder plus percent escaping to non-printable characters.