diff options
author | toonn <toonn@toonn.io> | 2020-07-24 19:46:58 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2020-07-24 20:01:55 +0200 |
commit | 5fa6928fab75e77b77a00311130f5d2c7f90a748 (patch) | |
tree | 641dec094c382ae467813e0a08f093daaf4484f6 /doc/tools | |
parent | 05d2263d770a2a01a2a78aad28f7e48c2615ab27 (diff) | |
download | ranger-5fa6928fab75e77b77a00311130f5d2c7f90a748.tar.gz |
Fix unicode decode issues in py2
Python 2 implicitly decodes strings as ASCII or the system's default encoding before encoding a string to bytes. This results in problems if the string already contains characters outside the ASCII range (> 127). I reintroduced this bug thinking encoding a string in both python 2 and 3 would be harmless. Actually swapped the order of the inode and the path which should've happened in the previous commit. Fixes #2054
Diffstat (limited to 'doc/tools')
0 files changed, 0 insertions, 0 deletions