Bug 59150

Summary: extra recoding of filenames
Product: [Applications] konqueror Reporter: Klochkov Roman <kalimehtar>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lex.lists
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Klochkov Roman 2003-05-30 17:43:09 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Unspecified Linux
OS:          Linux

When HTML file is opened from the filesystem, to all local links the name of the current directory is appended. It's OK.
But sometimes contents of the file is needed to be recoded. For example I open a file from Wnidows (with cp1251 charset) and my locale charset is koi8-r.
And when such recoding happens, Konqueror recodes also all appended names of current directory 
in spite of that it is already in my locale encoding. So I cannot use any links to files on local filesystem. (Even in the same file. Such inks as <a href=#a> also broken)

How to reproduce:
Take any document with local anchors and put it into a directory, whose name contains codepage-specific characters. Then try to use local anchors.

Expected behavior: It should at first recode the document, and only after that append directory names.
Comment 1 Tomas Trnka 2006-08-29 09:19:25 UTC
I've successfully reproduced this bug using KDE 3.5.4 (Mandriva 2006 MDE RPMs), it shows up using a variety of encodings...
Comment 2 Louai Al-Khanji 2006-08-30 13:07:23 UTC
Confirmed
Comment 3 Markus 2008-02-07 13:34:30 UTC
This seems to me like a duplicate of <a href="https://bugs.kde.org/show_bug.cgi?id=49523">49523</a> which is open since 2002 ...
Comment 4 Bui Arantsson 2008-05-03 18:37:49 UTC
I agree, this is surely a duplicate of bug 49523
Comment 5 Michael Leupold 2008-05-04 19:28:34 UTC

*** This bug has been marked as a duplicate of 49523 ***