Re: [MacPerl] use Encode

2002-08-14 Thread Axel Rose
Second try ... I changed CP1250 to CP1252. (My mistake because I'm more used to ISO-8859-1/15, rather than MS "codepages") Usage summary: use trans_charset; my $data = "äöüÄÖÜß and more funny chars: Þ ƒ"; my $output = $t->fromto( $data, from => "mac", to => "cp1252", replacement => { chr(

Re: [MacPerl] use Encode

2002-08-13 Thread Chris Nandor
So ... why use your module instead of Encode? I can think of a few reasons -- Encode is huge, and only in 5.8 -- but what are *your* reasons? -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: [MacPerl] use Encode

2002-08-13 Thread Axel Rose
>Eh... so where does $data fit in? Oops, the module documentation shows it ... my $output = $t->fromto( $data, from => "mac" ... I simply mixed up 1250 with 1252. The advantage of my module is to easily add further Unicode map files. I'll send an update to anybody interested. Axel

Re: [MacPerl] use Encode

2002-08-12 Thread Bart Lateur
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