Is it acceptable to use Windows APIs instead of iconv.dll?

Werner Koch wk at gnupg.org
Mon Mar 21 14:04:19 CET 2005


On Mon, 21 Mar 2005 14:04:36 +0800, Zuxy  said:

> the current codepage, is it acceptable to write a special piece of
> code to emulate iconv thru Windows APIs, e.g. MultiByteToWideChar and
> WideCharToMultiByte? Then we can assign the function pointers to this

No, you can't do that.  Windows has its own ugly tables and is not
fully Unicode compliant.  libiconv is far better.  Installing the
iconv.dll is the way to go.  In fact you need it only once on a system


Salam-Shalom,

   Werner




More information about the Gnupg-devel mailing list