[Piglit] More JSON problems. :(

Paul Berry stereotype441 at gmail.com
Mon Aug 8 10:59:19 PDT 2011


On 5 August 2011 14:37, Paul Berry <stereotype441 at gmail.com> wrote:
> On 5 August 2011 13:59, Kenneth Graunke <kenneth at whitecape.org> wrote:
>>
>> Apparently Paul thinks he can fix it.
>
> Yes.  I have some ideas about what to do.  I'll try to get something
> credible by Monday.  If the situation gets too desperate, we could
> always push Ken's workaround and then revert it once we come up with a
> real fix, but I hope that won't be necessary.
>

Ok, my fix is on the mailing list.  It wound up being similar to your
workaround, except that:

- Instead of discarding non-ASCII characters it interprets them as UTF-8.
- It is tolerant of invalid UTF-8.
- It ensures that UTF-8 characters are properly displayed when viewing
test results in a web browser.
- It is forward-compatible with Python 3.x.


More information about the Piglit mailing list