At 13.10 -0500 01-02-17, Keith Moore wrote: > > How does gethostbyname() *know for sure* what the character set of its >> argument is? Answer: it doesn't, because there is no way that it can. > >Let me suggest a different answer: > >gethostbyname() knows what the character set of the argument is >because, by definition, it is ASCII. FYI: In the IDNA algorithm, nameprep and ace encoding is done _before_ gethostbyname() is called, for exactly the reasons Keith lists. paf
- Re: [idn] The layers and character... Paul Hoffman / IMC
- RE: [idn] The layers and character... Brian W. Spolarich
- Re: [idn] The layers and character... Keith Moore
- Re: [idn] The layers and character... Paul Hoffman / IMC
- Re: [idn] The layers and character... Keith Moore
- Re: [idn] The layers and character... Paul Hoffman / IMC
- Re: [idn] The layers and character... Eric Brunner-Williams in Portland Maine
- Re: [idn] The layers and character... Dan
- Re: [idn] The layers and character... David C Lawrence
- Re: [idn] The layers and character... Keith Moore
- Re: [idn] The layers and character... Patrik F�ltstr�m
- Re: [idn] The layers and character... Marc Blanchet
- Re: [idn] The layers and character... John C Klensin
- Re: [idn] The layers and character... Patrik F�ltstr�m
- Re: [idn] The layers and character... John C Klensin
- Re: [idn] The layers and character... Patrik F�ltstr�m
- Re: [idn] The layers and character... John C Klensin
- Re: [idn] The layers and character... D. J. Bernstein
- Re: [idn] The layers and character... Patrik F�ltstr�m
- Re: [idn] The layers and character... Erik Nordmark
- Re: [idn] The layers and character... Keith Moore
