RSSAmplifier

Home on teideal glic deisbhéalach · Dec 31, 2013

Testing a UTF-8 decoder with vigour

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Yesterday, Michael Snoyman reported a surprising regression in version 1.0 of my Haskell text library: for some invalid inputs, the UTF-8 decoder was truncating the invalid data instead of throwing an exception. Thanks to Michael providing an easy repro, I quickly bisected the origin of the regression to a commit from September that added support for incremental decoding of UTF-8. That work was…

Read on /2013/12/30/testing-a-utf-8-decoder-with-vigour/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.