Kjetil has asked for the wisdom of the Perl Monks concerning the following question:
I do not know how to proceed. The problem is seemingly trivial, and I have been trying different paths, but none has so far been successful.
I get e-mails sent from a web form. I can't change that, unfortunately.
In those e-mails, I have many Norwegian letters, e.g. ø. The e-mail comes with
and when I look at it in pine, it comes out correctly.Content-Type: text/plain; charset=ISO-8859-1
However, if I look at the file itself, it comes out as the code =F8, and it seems like in a variable, it's there too. I'm stuffing these data into a PostgreSQL database (with DBI), and apparently, the =F8 code goes into the db too. Obviously, I don't want that... :-)
I've been playing around with setting locales, that is
but this doesn't help.use POSIX qw(locale_h); setlocale(LC_ALL, "no_NO.UTF-8");
Now, I humbly request your attention and hope you can lead me along the right path.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Norwegian letters problem
by zby (Vicar) on Apr 30, 2003 at 13:32 UTC | |
by Anonymous Monk on Apr 30, 2003 at 15:40 UTC | |
|
Re: Norwegian letters problem
by nite_man (Deacon) on Apr 30, 2003 at 14:18 UTC |