[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSD0001 review

From: Schanzenbach, Martin
Subject: Re: LSD0001 review
Date: Mon, 7 Feb 2022 20:13:14 +0000

> On 7. Feb 2022, at 20:12, Maxime Devos <> wrote:
> Schanzenbach, Martin schreef op ma 07-02-2022 om 19:02 [+0000]:
>>>>     A UTF-8 string (which is not 0-terminated) representing the
>>>> legacy hostname.
>>> What happens if it contaings \0, or ends with two dots, does that
>> mean
>>> the LEHO record is invalid and must be rejected?  If it is in
>> punycode,
>>> why say ‘A UTF-8 string’ instead of ’an ASCII string’?
>> It is not in punycode. It is just a UTF-8 string.
>> Why is it not 0-terminated? TBH I am not sure, probably to save a
>> byte :)
> A follow-up question: LEGACY HOSTNAME can be an UTF-8 string, not in
> punycode.  But can it be in punycode, even though that is not
> necessary?  Should punycode be forbidden here, in favour of UTF-8?

Well punycode is ASCII. And any ASCII string is (AFAIK) is also a valid uncode 
So yes, you can put punycode in there.


> Greetings,
> Maxime.

Attachment: signature.asc
Description: Message signed with OpenPGP

reply via email to

[Prev in Thread] Current Thread [Next in Thread]