Juan Lang juan.lang@gmail.com writes:
Until IDN is widely supported, non-ASCII characters are not valid in the DNS. There are of course several implementations of IDN, but they're not standardized. Would a FIXME be better if a wide character is encountered?
Not really, the question is what Windows does. WinHttpSetDefaultProxyConfiguration gets Unicode strings, so you should be able to write a test case for this.
I can for the first three DWORDs, but the strings are packed. Would you like a structure for the first three DWORDs?
Yes, plus an array for the strings or something like that.