Thread

  1. Encoding in UDF's

    Andrij Korud <akorud@polynet.lviv.ua> — 1999-11-05T11:24:44Z

    Hi
    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?
    
    Thanks in advance
    Andriy Korud, Lviv, Ukraine.
    
    
    
  2. Re: [HACKERS] Encoding in UDF's

    Oleg Broytmann <phd@phd.russ.ru> — 1999-11-05T14:32:49Z

    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@phd.russ.ru
               Programmers don't die, they just GOSUB without RETURN.