in reply to Re: Encoding of DBI PostgreSQL output
in thread Encoding of DBI PostgreSQL output
I'm running my files through this:
while (<>) { s/\xc3\xa5/å/g; s/\xc3\xb8/ø/g; s/\xc3\xa6/æ/g; s/\xc3\xa9/é/g; s/\xc3\x85/Å/g; s/\xc3\x86/Æ/g; s/\xc3\x98/Ø/g; s/\xc3\x96/Ö/g; print; }
I have been able to get a hexdump of the files, but I really don't understand what I read, because it looks as there are other characters inserted between those hex characters, e.g.:
6469 c320 7396 6c74
c3 is the à and 96 is indeed not in Latin1.... I think the latter probably has something to do with the question marks I got.
Why this is so, or if it is significant is beyond me, and unfortunately, the pressure on me is such I won't have time to find out (hate that). But it works reasonably well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Encoding of DBI PostgreSQL output
by graff (Chancellor) on May 21, 2003 at 16:40 UTC | |
|
Re: Re: Re: Encoding of DBI PostgreSQL output
by AndyH (Sexton) on May 22, 2003 at 13:38 UTC |