I did little more study and it seems that the strings I see in the /var/mail/user is "quoted-printable" strings. I could use MIME::QuotedPrint to decode them. I will give a try. Anyway, thanks drieux !!! I can always count on your reply:)
============================================= MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 00144473,Vik =D8yvind 00144854,Vintervoll Rune 00144824,Voie, Roger 00144474,Volden Kjell 00145022,Vreim Marte 00144867,Vr=E5lstad,Ellen 00144390,Wahlund Leif 00145011,Waalv=E5g Tommy ======================== --- drieux <[EMAIL PROTECTED]> wrote: > > On Wednesday, August 14, 2002, at 06:29 , Scott Ding > wrote: > [..] > > > > One issue came up with is that when an email that > > contains person's name like "WaalvÂg Scott" or > "Mike > > ÿyvind", the perl script doesn't print them > correctly, > > meaning, the names is not saved in the file > correctly. > [..] > > this looks like a 'unicode' problem.... > > when i open up the 'raw source' on your email with > my > little Mac Mail.app I notice: > > << name like "Waalv\345g Scott" or "Mike\n > \330yvind", >> > > so the trick is 'how do i get perl to parse > unicode data so that there is some way to save > that "\345" token where it belongs in the dataset. > > there are a variety of modules at the CPAN > > > http://search.cpan.org/search?mode=all&query=unicode > > that you may want to look into. > > The problem with how they are 'saved in the file > correctly' > may also be an interesting problem as well.... since > as > the example above notes - in a 'raw ascii mode' that > "\345" > would appear to most to be 'wrong' - except of > course that > it actually IS the way that those things are 'packed > up' > and shipped around... > > > ciao > drieux > > --- > > > -- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]