Special characters and KLauncher

Thiago Macieira thiago at kde.org
Mon Oct 8 11:37:12 BST 2007


Rafael Fernández López wrote:
>Hi again,
>
>Another bug inside that code... when opening a "binary" file with KWrite
> that it shows a warning dialog (and uses KUrl.url() for showing which
> file) was showing the same stuff:
> /home/ereslibre/documentaci%20C%n/whatever.pdf or something like that.
>
>With the attached patch absolutely everything of that kind is fixed :)
>
>Should I commit ?

No.

This one is wrong for the reasons Olivier pointed out.

QUrl::toEncoded() should be returning ASCII-only characters. Why is 
fromLatin1() failing? What was the QByteArray that was returned by 
toEncoded()?
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071008/bbe275b8/attachment.sig>


More information about the kde-core-devel mailing list