I wrote: > Given the sequence F8 80 80 80 80, the Unicode Standard specifies that > a decoder should recognize F5 as an invalid UTF-8 code unit, Sorry, obviously that should have been "recognize F8 as an invalid code unit," though of course F5 is one too. -- Doug Ewell | Thornton, Colorado, USA http://www.ewellic.org | @DougEwell