no matter on Python 3: following "a.decode" uses its own default for the empty argument. fails on Python 2, since "a.decode" requires a non-empty argument!
@@ -201,6 +201,8 @@ class DirectoryReader():
):
return "utf_8"
return default
+
+ return default;
# end of checkforUTF8 ------------------------------------------------
# Subroutine readtextfile