I ran into some strange problem on one of our machines.
This is a new installation of Debian Squeeze with Postgres 8.4.10.
I have several localizations installed on the machine, locale -a gives the following:
C en_US en_US.iso88591 en_US.utf8 POSIX swedish sv_SE sv_SE.iso88591 sv_SE.utf8
In a regular linux console, I can use swedish localization (åäö works), but when I enter the psql console, I cannot use localized characters. It doesn't matter how I set up my terminal (I tried almost every encoding I can think of).
The database itself works fine, I can enter localized characters by creating an SQL file and keeping the inserts there. This is simply not the most effective way to do this; -)
Have not encountered this problem before, and I installed quite a few machines. Does anyone have any idea what could be causing this?
Dytut source share