Re: How to convert HEX to ASCII?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How to convert HEX to ASCII?
Дата
Msg-id CAHyXU0yHgsoXJYar94vgLBvBa+zenZxJupZCMb8VSHcuLQFSag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to convert HEX to ASCII?  (Marti Raudsepp <marti@juffo.org>)
Ответы Re: How to convert HEX to ASCII?
Список pgsql-general
On Fri, Dec 2, 2011 at 10:42 AM, Marti Raudsepp <marti@juffo.org> wrote:
> Sorry, but AFAICT this makes a mess of encodings and only works by
> pure luck. The server thinks it's sending the client LATIN1 text, but
> it's actually UTF8-encoded and the last decoding step is done by your
> terminal.

yup -- your're right -- what a coincidence!  I still prefer the 1
liner sql variant vs plpgsql loop though.  nicely done.

merlin

В списке pgsql-general по дате отправления:

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: How to convert HEX to ASCII?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to convert HEX to ASCII?