This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Convert DnsQuery_A to DnsQuery_W calls?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- Cc: cygwin-developers at cygwin dot com
- Date: Sun, 1 May 2011 16:54:50 +0200
- Subject: Convert DnsQuery_A to DnsQuery_W calls?
- Reply-to: cygwin-developers at cygwin dot com
Hi Pierre,
as you know Cygwin does not use the Windows ANSI codepage anymore, but a
multibyte encoding of the user's choice. So we're only using native NT
functions and the UNICODE functions and convert to multibyte ourselves.
Except for minires-os-if.c. It's still using the DnsQuery_A function
rather than DnsQuery_W. My question is, does it make sense to convert
minires-os-if.c to use DnsQuery_W? Up until a short while back, all
DNS data was ASCII-only anyway, but now that internationalized domains
exist, isn't it the right thing to do to use DnsQuery_W?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat