[Kde-pim] Fwd: Re: KDE 4.4.98 (4.4 RC3)

Thiago Macieira thiago at kde.org
Mon Feb 8 07:33:45 GMT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100208/5c264f01/attachment.sig>


More information about the kde-core-devel mailing list