Re: psql weird behaviour with charset encodings

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: psql weird behaviour with charset encodings
Дата
в 18:43:11
Msg-id
1514.1273268582@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
psql weird behaviour with charset encodings hernan gonzalez <hgonzalez@gmail.com>
Re: psql weird behaviour with charset encodings Tom Lane <tgl@sss.pgh.pa.us>
Re: psql weird behaviour with charset encodings hernan gonzalez <hgonzalez@gmail.com>
Re: psql weird behaviour with charset encodings Tom Lane <tgl@sss.pgh.pa.us>
Re: psql weird behaviour with charset encodings hernan gonzalez <hgonzalez@gmail.com>
Re: psql weird behaviour with charset encodings Tom Lane <tgl@sss.pgh.pa.us>
Re: psql weird behaviour with charset encodings hgonzalez@gmail.com
Re: psql weird behaviour with charset encodings hernan gonzalez <hgonzalez@gmail.com>
Re: psql weird behaviour with charset encodings Tom Lane <tgl@sss.pgh.pa.us>
Re: psql weird behaviour with charset encodings hernan gonzalez <hgonzalez@gmail.com>
Re: psql weird behaviour with charset encodings Tom Lane <tgl@sss.pgh.pa.us>
hernan gonzalez  writes:
> My scenario: Fedora 12, Postgresql 8.4.3 compiled from source.

> Database encoding (global) LATIN9.
> User postgres locale: LANG=en_US.iso885915,
> User root locale LANG=en_US.UTF-8

> When I connect from postgres user, all is right.
> When I connect from root, it's not right... except with \x

What's client_encoding set to in the two cases?  If it's not utf8,
does changing it to that improve matters?  Alternatively, see what
xterm (or whatever terminal window you're using) thinks the encoding
is, and change it to match psql's client_encoding.

			regards, tom lane
В списке pgsql-general по дате отправления
От: hernan gonzalez
Дата:
От: hernan gonzalez
Дата:
FAQ