in reply to Re^2: Quick way to convert to ASCII
in thread Quick way to convert to ASCII

Text::Unaccent is an XS module and wont build cleanly according to ActiveState.

jdtoronto

Replies are listed 'Best First'.
Re^4: Quick way to convert to ASCII
by xdg (Monsignor) on Jul 26, 2006 at 11:17 UTC

    I just tried it on Vanilla Perl and the problem is that it wants libiconv, which isn't normally available on Windows. You can get it from GnuWin32, though I'm not yet sure what's necessary to make it work with MinGW.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

      I'm not yet sure what's necessary to make it work with MinGW

      OK, now I do, sort of. Full description of a quick-and-dirty approach is available at Vanilla Perl and GnuWin32 at win32.perl.org.

      It describes where to unpack the libiconv packages and how to configure the Makefile.PL to find them. Passes all test for Text::Unaccent.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re^4: Quick way to convert to ASCII
by syphilis (Archbishop) on Jul 26, 2006 at 11:30 UTC
    Text::Unaccent is an XS module and wont build cleanly according to ActiveState

    Looks like the bribes repository has a ppm of the latest version (1.08) for both perls 5.6 and 5.8. Can't download the source (from anywhere) at the moment to see firsthand what the problem is.

    Cheers,
    Rob