curl-library
Re: curl with idn works
From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 27 Apr 2004 18:17:24 +0200
Date: Tue, 27 Apr 2004 18:17:24 +0200
"Daniel Stenberg" <daniel-curl_at_haxx.se> said:
> To start with, I think stringprep_locale_charset() should do right, otherwise
> it is a bug in the code or in the docs.
You mean, stringprep_locale_set() only reports the current charset?
That's what I understood from the libidn src/doc.
> But other than that, I think your code can be used for Windows. putenv() is
> not safe to be used like that in portable manner.
>From my MSDN collection:
Creates new environment variables; modifies or removes existing ones.
int putenv (const char *);
So it's safe.
--gv
Received on 2004-04-27