in reply to RE: RE: Eight bit character (non-ASCII) conversion
in thread Eight bit character (non-ASCII) conversion

I know that you can download a free version of libiconv from libiconv. I don't know if it will build on Windows or not, but it does support a couple of character sets that sound like what you're looking for. With most versions of the iconv library there is an iconv command line program that will do conversions. On mine "iconv --list" will give me a list of all the character sets it supports.

You may also want to look at check out some of the unicode conversion modules:

I believe that all of them run without needing any external (non-CPAN supplied) libraries. Since those modules are designed to do map to/from unicode you could solve your problem by doing a 2-step conversion: MAC->UNICODE->WINDOWS1252
  • Comment on RE: RE: RE: Eight bit character (non-ASCII) conversion

Replies are listed 'Best First'.
RE: RE: RE: RE: Eight bit character (non-ASCII) conversion
by snax (Hermit) on Nov 15, 2000 at 20:34 UTC
    Unicode::Map8 provides an 8-bit to 8-bit method, and is extremely comprehensive in its coverage of character maps. You have to poke through things to figure out which code pages to use, but that's a problem I faced anyway.

    Had I known it existed I would likely have used it.

    Instead I learned some new things about perl :)

    Update:
    It turns out for portability issues that the Unicode::Map8 module is really the way to go.

    Thanks for the tip!