[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Kde-pim] Fwd: Re: KDE 4.4.98 (4.4 RC3)
From:       Thiago Macieira <thiago () kde ! org>
Date:       2010-02-08 7:33:45
Message-ID: 201002080833.54667.thiago () kde ! org
[Download RAW message or body]


Em Segunda-feira 8. Fevereiro 2010, Ã s 02.31.26, Olivier Goffart escreveu:
> > But it could also be a QString issue, for allowing those invalid UTF-8
> >  strings to be converted to UTF-16 in the first place.
> 
> This is not QString issue. As QString could legitimately contains those
> character for internal purpose within an application.

They could be in QString, but the question is whether QString should generate 
them when converting to UTF-8 and allow them when converting from UTF-8.

U+FFFE and U+FFFF are already forbidden.

> > Note that changing the D-Bus behaviour may likely introduce bugs in
> > 
> >  Glib-based applications, where conversions from UTF-8 do implement this
> >  check. (Which, in my opinion, is incomplete)
> 
> Still, the application should not crash if the dbus deamon crash or answer
> with an error.
> And according to the backtrace, this seems to be a QtDBus bug to me.

Yes. But the application often doesn't survive being disconnected from the bus 
anyway.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic