[Interest] Certain QTextCodecs causing crashes on Linux

Richard Moore rich at kde.org
Wed Jul 31 21:04:33 CEST 2013


On 31 July 2013 19:54, Thiago Macieira <thiago.macieira at intel.com> wrote:
> On quarta-feira, 31 de julho de 2013 18:21:42, Scott Aron Bloom wrote:
>> As to the size of the codec.. Is there a way to tell the size?
>
> Hmm... You can feed it an 'a' and see how many bytes come out. Actually,
> verify that the output is exactly one byte 0x61. That way, you'll also prevent
> someone from setting EBCDIC or other funky 8-bit codecs.

Wouldn't that miss any codecs that are variable length?

Rich.



More information about the Interest mailing list