Summary: | Problems with accented characters in file names | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | András Manţia <amantia> |
Component: | webarchiverplugin | Assignee: | Malte Starostik <malte> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | raditzman, thiago |
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
András Manţia
2003-11-21 17:59:28 UTC
The above site is offline, so I can't test. The problem is, however, typical of bad filename encoding. See my posts to kde-core-devel for more information on the issue. Now, Bugzilla might have encoded your message a bit differently. Which of the two cases has an á (U+00E1) as the second character (after the H)? Subject: Re: Problems with accented characters in file names http://www.3szek.ro/ is online now. Must be a temporary problem for you. The text should be: Háromszék - Független napilap, Sepsiszentgyörgy The other problems are with ű, Ű, ő, Ő. I don't know their unicode representation... Andras Sorry, I could not reproduce. The page got archived, even though the contents are completely screwed up in the archive, codification-wise. Subject: Re: Problems with accented characters in file names Well, I can still reproduce it. But the error occures only if I open the .war file with Location-->Open. Furthermore if I have an What is your $LANG and do you have KDE_UTF8_FILENAMES? Subject: Re: Problems with accented characters in file names LANG=en_US KDE_UTF8_FILENAME is not set. When you click on that á.html, what does the Konqueror location bar show you? Subject: Re: Problems with accented characters in file names It shows correctly: file:/home/andris/ I can't reproduce your problem, but I am in an UTF-8 locale. Subject: Re: Problems with accented characters in file names CC-ing to kde-core-devel, maybe somebody there has an idea about it: I've looked a little into the code, and the problem lies somewhere in KURIFilter. In KonqMainWindow::openFilteredURL() there is the below lines: KURL filteredURL = KonqMisc::konqFilteredURL( this, url, m_currentDir ); kdDebug(1202) << "_url " << _url << " filtered into " << filteredURL.prettyURL() << endl; If url contains an accented char (eg. it is file:/home/user/ Subject: kdelibs/kio/kio CVS commit by faure: Revert 1.40, it broke for filenames, see kde-core-devel. If someone wants to fix google queries he should do so in the ikws filter. CCMAIL: 68744-done@bugs.kde.org, malte@kde.org M +1 -2 kurifilter.cpp 1.41 --- kdelibs/kio/kio/kurifilter.cpp #1.40:1.41 @@ -27,5 +27,4 @@ #include <kstaticdeleter.h> #include <kparts/componentfactory.h> -#include <qtextcodec.h> #include "kurifilter.h" @@ -91,5 +90,5 @@ void KURIFilterData::init( const QString { m_iType = KURIFilterData::UNKNOWN; - m_pURI = KURL( url, 106 /* utf-8 */ ); + m_pURI = url; m_strErrMsg = QString::null; m_strIconName = QString::null; *** Bug 72795 has been marked as a duplicate of this bug. *** |