From: Doug Ewell (dewell@adelphia.net)
Date: Sat May 13 2006 - 22:38:05 CDT
Mark Davis wrote:
> One option is to map any ill-formed UTF-8 sequence to a safe
> replacement, like U+FFFD. That prevents the non-shortest form
> sequences from causing security problems.
That is always the approach I take when I write a decoder. I find it to
be a much better solution than throwing UI at the user.
-- Doug Ewell Fullerton, California, USA http://users.adelphia.net/~dewell/
This archive was generated by hypermail 2.1.5 : Sat May 13 2006 - 22:41:00 CDT