Error in IDN eamples for testing

"Mark Davis" <[email protected]>
Newsgroups gmane.ietf.idn
Message-ID <004d01c2f868$fbfcc850$7900a8c0@DAVIS1>
One of our engineers took a look at the IDN samples for testing, and found a
problem in the data. Apparently some of the UTF-8 is illegal (using 2
three-byte sequences for a supplementary character).

Mark

========

Hi Mark,
The following are the offending members of structure in Appendix A of
draft-josefsson-idn-test-vectors. The data claiming to be UTF-8 is actually
CESU-8.

struct stringprep
{
char *comment;
char *in;
char *out;
char *profile;
int flags;
int rc;
}
strprep[] =
{
..........
{
"Surrogate code U+DF42",
"\xED\xBD\x82", NULL, "Nameprep", 0,
STRINGPREP_CONTAINS_PROHIBITED
},
...........
{
"Larger test (shrinking)",
"X\xC2\xAD\xC3\xDF\xC4\xB0\xE2\x84\xA1\x6a\xcc\x8c\xc2\xa0\xc2"
"\xaa\xce\xb0\xe2\x80\x80", "xssi\xcc\x87""tel\xc7\xb0 a\xce\xb0 ",
"Nameprep"
},
{
"Larger test (expanding)",
"X\xC3\xDF\xe3\x8c\x96\xC4\xB0\xE2\x84\xA1\xE2\x92\x9F\xE3\x8c\x80",
"xss\xe3\x82\xad\xe3\x83\xad\xe3\x83\xa1\xe3\x83\xbc\xe3\x83\x88"
"\xe3\x83\xab""i\xcc\x87""tel\x28""d\x29\xe3\x82\xa2\xe3\x83\x91"
"\xe3\x83\xbc\xe3\x83\x88"
},
}
...

----- Original Message -----
From: "Peter Gustav Olson - pgo" <[email protected]>
To: "vinton g. cerf" <[email protected]>; "Paul Hoffman / IMC"
<[email protected]>; <[email protected]>
Sent: Tuesday, March 25, 2003 05:37
Subject: RE: [idn] IDN eamples for testing




> -----Original Message-----
> From: vinton g. cerf [mailto:[email protected]]
> Sent: Tuesday, March 25, 2003 1:07 PM
> To: Peter Gustav Olson - pgo; Paul Hoffman / IMC; [email protected]
> Subject: RE: [idn] IDN eamples for testing
>
>
> Peter,
>
> thanks for pointing out the cybersquatter problem - I
> certainly agree that we don't want to adopt policies that
> will encourage or support cybersquatting!


For companies like Ben & Jerry's, Bang & Olufsen, Nestlé, L'Oreal, Kookaï,
etc. the IDN will be much more significant than the introduction of .biz and
.info. Let's make it significant in a positive sense, rather than a
significant new anti-cybersquatting expenditure.

Yours Sincerely,

Peter Gustav Olson

PLESNER SVANE GRØNBORG
Law firm

34, Esplanaden
DK-1263  Copenhagen K.

Tel: +45 33 12 11 33
Fax: +45 33 12 00 14
E-mail: [email protected]
Website: www.psglaw.dk


This e-mail and any attachment are confidential and may also be privileged.
If you are not the intended recipient, please notify us immediately and then
delete this e-mail and any attachment without retaining copies or disclosing
the contents thereof to any other person.  Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.