Re: [HACKERS] Encoding in UDF's

From: Oleg Broytmann <phd(at)phd(dot)russ(dot)ru>
To: Andrij Korud <akorud(at)polynet(dot)lviv(dot)ua>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Encoding in UDF's
Date: 1999-11-05 14:32:49
Message-ID: Pine.LNX.4.20.9911051431350.11478-100000@fep132.fep.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5 Nov 1999, Andrij Korud wrote:
> I have a postgres compiled with -mb=KOI8, store cyrillic data, get in the
> client using different encoding (SET ENCODING=WIN1251, KOI8). The question
> is: what should return stored procedure if I want to see it's output in
> different encodings? Win1251, KOI8, UTF-8, something else?

Never tried it myself, but I'd expect windows-1251...

SET PGCLIENTENCODING=WIN, of course.

Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd(at)phd(dot)russ(dot)ru
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 1999-11-05 15:36:55 Re: [GENERAL] indexed regex select optimisation missing?
Previous Message Jan Wieck 1999-11-05 12:48:41 Re: [HACKERS] ERROR: infinite recursion in proc_exit