Re: Utility to report and repair broken surrogate pairs in UTF-16 text

From: Markus Scherer (markus.icu@gmail.com)
Date: Thu Nov 04 2010 - 19:49:31 CST

  • Next message: Asmus Freytag: "Re: Utility to report and repair broken surrogate pairs in UTF-16 text"

    On Thu, Nov 4, 2010 at 5:46 PM, Doug Ewell <doug@ewellic.org> wrote:

    > I'm probably missing something here, but I don't agree that it's OK for a
    > consumer of UTF-16 to accept an unpaired surrogate without throwing an
    > error, or converting it to U+FFFD, or otherwise raising a fuss.
    >

    Various degrees of "fuss", including subsitution with U+FFFD or similar, are
    perfectly normal options for error handling.

    markus



    This archive was generated by hypermail 2.1.5 : Thu Nov 04 2010 - 19:52:08 CST