RFC: IDN support in getaddrinfo().
Ulrich Drepper
drepper@redhat.com
Wed Nov 26 03:35:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
getaddrinfo extension?
~ 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)
iD8DBQE/xB952ijCOnn/RHQRAjBxAKCqpEsPryQ96vkwZ8zt5lo95hXngACeOYYa
AMJqAd7Ngw4b4zmnNZb36qs=
=0nyF
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list