aboutsummaryrefslogtreecommitdiff
path: root/lib/idn_win32.c
AgeCommit message (Collapse)Author
2011-04-19Windows native IDN fixes.Guenter Knauf
changed windows.h include to system header; changed obsolete 2nd check for str_w to str_utf8 in order to catch malloc() failure and avoid a free(NULL); changed calls to GetLastError() to void to kill unsused var compiler warnings; moved one call to GetLastError() into else case so that its only called when WideCharToMultiByte() really fails.
2010-12-28IDN: use win32 API if told toPierre Joye
The functionality is provided in a new source file: lib/idn_win32.c