You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have spent some time to take a look on this issue. I found that the reason to cause this problem is "iconv" command. This GNU tool can helps user to convert their file's encoding type from one to another.
The "encoding.convert" of "mafan library" is a wrapping function of iconv to make it easier to use. Basically, the whole process of "encoding.convert" function is detecting the encoding type of input file and convert its encoding type from detected type to UTF-8 by using "iconv" command.
I will start to find a solution to patch this issue.
cpath = '/root/somedir/test.txt'
print encoding.convert(cpath)
output:
/root/somedir/test_utf-8.txt
but there is no test_utf-8.txt file under /root/somedir
The text was updated successfully, but these errors were encountered: