[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KURL encoding question
From: David Faure <david () mandrakesoft ! com>
Date: 2000-03-11 21:52:09
[Download RAW message or body]
On Sat, Mar 11, 2000 at 07:01:51PM +0000, David Faure wrote:
> On Sat, Mar 11, 2000 at 09:56:52AM -0500, Dawit Alemayehu wrote:
> > On Sat, 11 Mar 2000, David Faure wrote:
> > > On Sat, Mar 11, 2000 at 07:42:02AM -0500, Dawit Alemayehu wrote:
> > > OK.
> > > But a drop operation gives a URL as a QCString, so unicode-chars inside
> > > the uri would be encoded how ? utf8 ?
> >
> > A little bit confused by this statement. If a drag/drop operation gives a URL
> > as a QCString then there will effectively be no unicode characters in it. Or
> > at least they would have been already converted somehow.
> ^^^^^^^
> That's the question ! How...
And the answer is ... using QUriDrag::unicodeUriToUri.
If you plan to implement anything about unicode uris, I suggest
having a look at the various QUriDrag methods, to copy or even directly
use them.
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic