[Patch] internatinal domain names for email addresses

David Shaw dshaw at jabberwocky.com
Thu Jan 6 19:25:16 CET 2005


On Thu, Jan 06, 2005 at 07:05:15PM +0100, Thomas Kuehne wrote:
> >>>Will the regexp code in GnuPG do the right thing when matching utf8
> >>>against utf8 ?
> >>
> >>I'm currently somehow failing to test it ;)
> >>
> >>Does the UID "___\u00FC___" match the regexp "___\u0075\u0308___" ?
> >
> >
> >It shouldn't.
> 
> "\u00FC" and "\u0075\u0308" are canonical-equivalent.
> They should match.
> 
> http://www.unicode.org/faq/normalization.html
> http://www.unicode.org/reports/tr15/

Are both of those strings utf8?  I was under the impression that the
utf8 spec disallowed multiple ways to encode a particular character
for security reasons (so people couldn't "hide" illegal characters in
the encoding).

David



More information about the Gnupg-devel mailing list