charset: put functions into namespace and change naming convention

This commit is contained in:
Andrzej Rybczak
2012-09-11 22:56:57 +02:00
parent c8097a898e
commit a9bee35cca
7 changed files with 40 additions and 52 deletions

View File

@@ -143,7 +143,7 @@ void Lastfm::Load()
{
if (!first)
*w << '\n';
utf_to_locale(line);
IConv::utf8ToLocale_(line);
*w << line;
first = 0;
}
@@ -183,7 +183,7 @@ void Lastfm::Download()
{
Save(result.second);
w->clear();
utf_to_locale(result.second);
IConv::utf8ToLocale_(result.second);
*w << result.second;
itsService->colorizeOutput(*w);
}