How to remove dependency of normaliz.dll in libcurl?

1.3k views Asked by At

I'm using libcurl in my windows application support Windows xp or higher, it is a single dll file, in order to make it easer to distribute to others, I removed every dependency file except the normaliz.dll. I know it is used for WinIDN, but it doesn't exist on Windows xp.

I'm wondering is there any way to remove normaliz.dll dependency? I can not use libidn because the license. I have researched for a long time and found the easiest way is compile the WinIDN source code in normaliz.dll with my project.

Accourding to https://github.com/curl/curl/blob/master/lib/idn_win32.c, I could see I need provide the IdnToAscii and IdnToUnicode function.

So the problem became to where could I see how normaliz.dll implement IdnToAscii and IdnToUnicode so that I could write the same functions by myself?

0

There are 0 answers