Thread: Locale and multibyte support in 7.1

Locale and multibyte support in 7.1

From
tolik@aaanet.ru (Anatoly K. Lasareff)
Date:
Hi!

I download, configure and install postgresql-7.1beta1 _exactly_ the
same way as my previous version - 7.0.2:



./configure --enable-multibyte=KOI8 --enable-locale
gmake
gmake install

initdb



But it seems to me locale support gone out. In particulary

select upper('Русский текст - Russian text');

(first two words are russian in lowercase in KOI8 encoding) don't give
uppercase russian text - russian letters don't change. But when I do
the _same_ steps with 7.0.2 - all is OK. May anyone help me? I work
under FreeBSD 4.0. 

-- 
Anatoly K. Lasareff                 Email:    tolik@aaanet.ru 
http://tolikus.hq.aaanet.ru:8080    Phone:      (8632)-710071


Re: Locale and multibyte support in 7.1

From
Oleg Bartunov
Date:
On 13 Dec 2000, Anatoly K. Lasareff wrote:

> Date: 13 Dec 2000 14:06:16 +0300
> From: "Anatoly K. Lasareff" <tolik@aaanet.ru>
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] Locale and multibyte support in 7.1
> 
> 
> Hi!
> 
> I download, configure and install postgresql-7.1beta1 _exactly_ the
> same way as my previous version - 7.0.2:
> 
> 
> 
> ./configure --enable-multibyte=KOI8 --enable-locale
> gmake
> gmake install
> 
> initdb
> 

You need to do 
initb -E KOI8

and setup environment properly
Let me know if you still have a problem

Regards,    Oleg
> 
> 
> But it seems to me locale support gone out. In particulary
> 
> select upper('Русский текст - Russian text');
> 
> (first two words are russian in lowercase in KOI8 encoding) don't give
> uppercase russian text - russian letters don't change. But when I do
> the _same_ steps with 7.0.2 - all is OK. May anyone help me? I work
> under FreeBSD 4.0. 
> 
> -- 
> Anatoly K. Lasareff                 Email:    tolik@aaanet.ru 
> http://tolikus.hq.aaanet.ru:8080    Phone:      (8632)-710071
> 

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83