← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 461733] Re: Upload log file is encoded to utf8 twice

 

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.

** Changed in: linuxdcpp
       Status: New => Incomplete

-- 
Upload log file is encoded to utf8 twice
https://bugs.launchpad.net/bugs/461733
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Incomplete

Bug description:
when I read the Upload log file I see that conversion from hub encoding to utf8 is made twice.

then user has to make "cat .dc++/log/Upload.log | iconv -f utf8 | iconv -f utf8" to see file contents. 

debian/sid
linuxdcpp v.1.0.3, core version 0.698

hub encoding: cp1251, locale: ru_RU.KOI8-R.



References