<br><br><div class="gmail_quote">On Sun, Feb 7, 2010 at 3:58 AM, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@kde.org">thiago@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
</div>The protection has to happen somewhere. Technically, it's Konversation's fault<br>
for passing unfiltered network data into an API.<br>
<br>
But it could also be a QString issue, for allowing those invalid UTF-8 strings<br>
to be converted to UTF-16 in the first place.<br>
<br>
Note that changing the D-Bus behaviour may likely introduce bugs in Glib-based<br>
applications, where conversions from UTF-8 do implement this check. (Which, in<br>
my opinion, is incomplete)<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>If you're referring to dbus's lack of checks for 0x1FFFE and so on, I found that I was unable to create a QChar > 0xFFFF, so perhaps not checking those is reasonable.</div>
<div><br></div><div>Regards, Eli</div></div>