Date: Wed, 21 Sep 2022 21:27:40 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: freebsd-current <freebsd-current@freebsd.org> Subject: Re: domain names and internationalization? Message-ID: <YQXPR01MB41507EBE36BA8802D34544FADD4F9@YQXPR01MB4150.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <YQXPR01MB4150B8E06CE60DD9C7D8C20EDD4C9@YQXPR01MB4150.CANPRD01.PROD.OUTLOOK.COM> References: <YQXPR01MB415077A8BEABF94DB0B0F300DD4D9@YQXPR01MB4150.CANPRD01.PROD.OUTLOOK.COM> <YyjXOy3kPNP9dVJw@elch.exwg.net> <YQXPR01MB4150B8E06CE60DD9C7D8C20EDD4C9@YQXPR01MB4150.CANPRD01.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Moench-Tegeder <cmt@burggraben.net> wrote:=0A= >## Rick Macklem (rmacklem@uoguelph.ca):=0A= >=0A= >> I am hoping someone knows what DNS does in this area (the=0A= >> working group list uses terms like umlaut, which I have never=0A= >> even heard of;-).=0A= >=0A= >The dry start on that topic is RFC5890=0A= >https://datatracker.ietf.org/doc/html/rfc5890=0A= >The Wikipedia overview looks really decent:=0A= >https://en.wikipedia.org/wiki/Internationalized_domain_name=0A= >What else?=0A= Thanks. Both the RFC and wikipedia article were useful.=0A= =0A= It turns out that the messy part for NFSv4 is that the RFCs=0A= specified that the labels were in Unicode (U-labels) and=0A= not A-labels.=0A= --> RFC 7530 also wants the code to translate an A-label=0A= to a U-label and then compare U-labels. (Not sure why=0A= that is preferable to a case independent comparison of=0A= the A-labels, but maybe the intent was that an A-label=0A= would compare the same as a U-label in a domain name?)=0A= =0A= The FreeBSD man page for hostname(1) and gethostname(3)=0A= don't seem to limit the labels in the name to A-label format.=0A= =0A= Does anyone use non-ascii (ie. a U-label with multibyte characters=0A= in it) in a machine's hostname?=0A= =0A= Right now the coding of nfsuserd(8) does not conform to the RFCs,=0A= but should work for domain names where all the labels are=0A= A-labels (either LDN or "xn--" followed by a Punycode encoded=0A= unicode string).=0A= =0A= rick=0A= =0A= Gru=DF <-- see? eszett :)=0A= Christoph=0A= =0A= --=0A= Spare Space=0A=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQXPR01MB41507EBE36BA8802D34544FADD4F9>