mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kio: default to the locale encoding in KIO::SlaveBase
as is done in KIO::Scheduler Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a8ad8d46de
commit
06cafdba67
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ static AuthInfo authInfoFromData(const QByteArray &authdata)
|
|||
static QTextConverter* textConverter(const QByteArray &name)
|
||||
{
|
||||
if (name.isEmpty()) {
|
||||
return new QTextConverter("UTF-8");
|
||||
return new QTextConverter(QTextCodec::codecForLocale()->name());
|
||||
}
|
||||
return new QTextConverter(name);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue