When you say the file is encoded twice, what part of the file do you mean? The whole thing or just certain fields? Nick field? Filename? Both? I would think only filename or nick could have encoding problems since the rest is ASCII.
And just to confirm that when you say locale ru_RU.KOI8-R it is the value printed by `locale | grep CTYPE`?
I did some tests and was unable to reproduce your issue. I uploaded some files that had non-ASCII characters in them to a user that had non-ASCII characters in their name and the log file showed both correctly. As far as I can tell, the filename in the log should be utf8. The filename should be converted from the filesystem encoding to utf8 when hashed, then retrieved by the logger without any additional conversion.
When you say the file is encoded twice, what part of the file do you mean? The whole thing or just certain fields? Nick field? Filename? Both? I would think only filename or nick could have encoding problems since the rest is ASCII.
And just to confirm that when you say locale ru_RU.KOI8-R it is the value printed by `locale | grep CTYPE`?
I did some tests and was unable to reproduce your issue. I uploaded some files that had non-ASCII characters in them to a user that had non-ASCII characters in their name and the log file showed both correctly. As far as I can tell, the filename in the log should be utf8. The filename should be converted from the filesystem encoding to utf8 when hashed, then retrieved by the logger without any additional conversion.