Re: Handling of Surrogates

From: Sam Mason (sam@samason.me.uk)
Date: Fri Apr 17 2009 - 06:32:56 CDT

  • Next message: Sam Mason: "Re: Handling of Surrogates"

    On Thu, Apr 16, 2009 at 01:04:30PM -0700, Asmus Freytag wrote:
    > What should definitely result in an error is to write '\U0000D800'
    > because the 8-byte form is to be understood as UTF-32, and in that
    > context there would be an issue.

    That strikes me at too pedantic; if we did that should we also reject
    the number one when spelled as '00000000001'?

    As far as I understand, \U is just about giving you space to write a
    value biger than 0xffff without having to resort to surrogate pairs.

    -- 
      Sam  http://samason.me.uk/
    


    This archive was generated by hypermail 2.1.5 : Fri Apr 17 2009 - 06:35:21 CDT