W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: Delta Compression and UTF-8 Header Values

From: Frédéric Kayser <f.kayser@free.fr>
Date: Sun, 10 Feb 2013 07:56:24 +0100
To: ietf-http-wg@w3.org
Message-Id: <65067E47-13CB-4909-87D8-46C529284755@free.fr>
Ok my mail client normalized the text before sending it...

Text snippet in ZIP archive this time.

Le 10 févr. 2013 à 07:44, Frédéric Kayser a écrit :

> Comparing Unicode strings without prior normalisation can lead to surprising results: "Frédéric" and "Frédéric" will probably look the same in your email client, but try to paste them in the search field and you'll probably see that they don't match since the first one uses precomposed diacritics and the second one combining ones.
> Le 9 févr. 2013 à 15:12, Martin Nilsson a écrit :
>> You don't need to know the length in characters to compare strings. Just comparing byte on byte works fine. Null is encoded the same, and byte zero only appear as null in UTF-8, so strlen works fine. So far strings are hollerith encoded in HTTP/2, so it should be a moot point anyway.

Received on Sunday, 10 February 2013 06:56:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:10 UTC