This is the mail archive of the
mailing list for the glibc project.
Re: RFC: IDN support in getaddrinfo().
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Simon Josefsson <jas at extundo dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 25 Nov 2003 19:35:21 -0800
- Subject: Re: RFC: IDN support in getaddrinfo().
- Organization: Red Hat, Inc.
- References: <firstname.lastname@example.org>
-----BEGIN PGP SIGNED MESSAGE-----
Simon Josefsson wrote:
> Continuing an old thread regarding support for Internationalized
> Domain Names (IDN) in glibc, prompted by the adaption of my glibc
> patches by developers from some Linux distributions, I'd like to
> formalize my ideas in a proposal for extending the getaddrinfo() API.
The problem I have with this is: we do not have the idn code in glibc.
It is big, and changing, which makes me not wanting to add this. And
getaddrinfo is core functionality. Requiring some external code for it
to work is undesirable. The interface might change or whatever other
incompatibilities can arise. This is highly unpleasant.
I do see that this form of the interface is nice. So my questions are:
~ do you need all of the libidn interface to implement the suggested
~ what is the size of the absolutely minimum amount of code (source
and object file)
For the encoding conversion code, in glibc you'd have to use the
glibc-internal interfaces, and not iconv() itself.
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
-----END PGP SIGNATURE-----