On Sun, 11 Aug 2002 12:35:20 +0200, Axel Rose wrote: >Possible character sets are MacRoman, ISO-8859-1, ISO-8859-15, >CP1250, CP850 and Adobe Standard Encoding.
What, no CP1252? The most widely used character encoding in the Western world, and you haven't taken it into account? Note: CP1252 is better known as the Windows character set. No, that's not the same as ISO-8859-1, although it can be thought of as an extension to it, where some characters in the 128-159 range, which are merly dups to the control characters in ISO-8859-1, are now used to represent some extra printable characters. >It works like this: > >use trans_charset; >my $t = trans_charset->new; >my $data = "äöüÄÖÜß and more funny chars"; >my $output = $t->fromto( > from => "mac", to => "latin1" ); Eh... so where does $data fit in? -- Bart.