From 90c6afc471fdb1a7761a1fab5094a25299018ec1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 4 Sep 2011 04:12:23 +0000 Subject: [PATCH] Fix Russian string handling from Wiki in Amarok Thanks to Ilya for the patch idea! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1251260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- amarok/src/contextbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amarok/src/contextbrowser.cpp b/amarok/src/contextbrowser.cpp index 8c230bb2..6e4e9109 100644 --- a/amarok/src/contextbrowser.cpp +++ b/amarok/src/contextbrowser.cpp @@ -4136,7 +4136,7 @@ ContextBrowser::wikiResult( KIO::Job* job ) //SLOT m_wikiToolBar->setItemEnabled( WIKI_BROWSER, true ); // FIXME: Get a safer Regexp here, to match only inside of at least. - if ( m_wiki.contains( "charset=utf-8" ) ) { + if ( m_wiki.contains( "charset=utf-8", FALSE ) ) { m_wiki = TQString::fromUtf8( storedJob->data().data(), storedJob->data().size() ); }