piyush.shourie has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,

I have been searching a way to perform Encoding on Windows with Perl 5.6.1. However, the modules I have encountered which can be used for encoding are Encode, Encode::Compat, which require the use of Text::IConv module. I am not able to install Text::IConv module on windows, as it requires IConv.h file, which I could not find.

Please help me out as it is very urgent.

Regards,
Piyush

Replies are listed 'Best First'.
Re: Encoding on Windows with Perl 5.6.1
by Anonymous Monk on Nov 03, 2004 at 16:08 UTC

    Hello Piyush,

    if I'm not mistaken, this is already your third thread on this topic. You were advised to look at the Gnuwin32 distribution of Iconv. It does contain iconv.h in the include directory.

Re: Encoding on Windows with Perl 5.6.1
by Anonymous Monk on Nov 04, 2004 at 00:38 UTC
    See Encoding in Perl and Problem in compiling Text::IConv module on Windows for answers.

    A Guide to Installing Modules says read README !

    Prerequisites
    -------------
    
    Your system should be compliant with the Single UNIX Specification or
    at least provide iconv_open(), iconv() and iconv_close() functions
    compliant with it.
    
    Note that the possible conversions and the quality of the conversions
    depend on the available iconv conversion tables and algorithms, which
    are in most cases supplied by the operating system vendor.  Some
    systems also allow you to build your own tables (e.g., HP-UX, Tru64
    UNIX, and AIX provide the genxlt(1) command).
    
    It is also possible to use a separate iconv library such as GNU
    libiconv package, just make sure that the desired library is found
    (see <http://www.gnu.org/directory/localization/libiconv.html>).