[Bug 68744] Problems with accented characters in file names

Andras Mantia amantia at freemail.hu
Mon Dec 1 16:30:31 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 December 2003 17:47, David Faure wrote:
> On Monday 01 December 2003 16:41, Andras Mantia wrote:
> > I get:
> > kurifiltertest: Filtering: ??.html
> > kurifiltertest: Here, minicli would run KRun on http://
> > kurifiltertest: -----
> > kurifiltertest: Filtering: %E1.html
> > kurifiltertest: Here, minicli would run KRun on http://
>
> Eek.
> Next step, enable all kdDebug statements in
> kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
Here is is (added also the same files with file:// to the test):
kurifiltertest: Filtering: ??.html
kurifiltertest: url=??.html cmd=??.html isMalformed=true
kurifiltertest: path =??.html isLocalFullPath=false exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with ??.html
kurifiltertest: valid short url, from malformed url -> using default 
proto=http://
kurifiltertest: Here, minicli would run KRun on http://
kurifiltertest: -----
kurifiltertest: Filtering: %E1.html
kurifiltertest: url=%E1.html cmd=%E1.html isMalformed=true
kurifiltertest: path =%E1.html isLocalFullPath=false exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with %E1.html
kurifiltertest: valid short url, from malformed url -> using default 
proto=http://
kurifiltertest: Here, minicli would run KRun on http://
kurifiltertest: -----
kurifiltertest: Filtering: file://??.html
kurifiltertest: url=file:// cmd=file://??.html isMalformed=false
kurifiltertest: path = isLocalFullPath=false exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with file://??.html
kurifiltertest: Here, minicli would run KRun on file://
kurifiltertest: -----
kurifiltertest: Filtering: file://%E1.html
kurifiltertest: url=file:// cmd=file://%E1.html isMalformed=false
kurifiltertest: path = isLocalFullPath=false exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with file://%E1.html
kurifiltertest: Here, minicli would run KRun on file://
kurifiltertest: -----

If I give the full URL to the test file (file:/home/andris/รก.html) the output 
is:

kurifiltertest: Filtering: file:/home/andris/??.html
kurifiltertest: Using 4 out of the 4 available plugins
kurifiltertest: Using a filter plugin named: kshorturifilter
kurifiltertest: url=file:/home/andris/%3F%3F.html 
cmd=file:/home/andris/??.html isMalformed=false
kurifiltertest: path =/home/andris/??.html isLocalFullPath=true exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with file:/home/andris/??.html
kurifiltertest: fileNotFound -> ERROR
kurifiltertest: Error
kurifiltertest: -----
kurifiltertest: Filtering: file:/home/andris/%E1.html
kurifiltertest: Using 4 out of the 4 available plugins
kurifiltertest: Using a filter plugin named: kshorturifilter
kurifiltertest: url=file:/home/andris/%3F%3F.html 
cmd=file:/home/andris/%E1.html isMalformed=false
kurifiltertest: path =/home/andris/??.html isLocalFullPath=true exists=false
kurifiltertest: [virtual bool KShortURIFilter::filterURI(KURIFilterData&) 
const] findExe with file:/home/andris/%E1.html
kurifiltertest: fileNotFound -> ERROR
kurifiltertest: Error
kurifiltertest: -----


- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/y2yrTQdfac6L/08RApBhAJ9Yv8pR1jB8p3qtrJeemenmRFm9BACcCjcn
0oRVdjnexlMwrml3B9P8jps=
=fnLE
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list