From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Colin Wetherbee" <cww(at)denterprises(dot)org> |
Cc: | "lan ping" <pinglanmtl(at)yahoo(dot)ca>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Problem of capital case-insensitive letter with accent |
Date: | 2008-01-21 19:42:17 |
Message-ID: | 162867790801211142y5f72486bsfa9caa7b1a1cf311@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello
> Are you sure you're using LATIN1 on both?
>
> js=# \l
> List of databases
> Name | Owner | Encoding
> -----------+----------+----------
> js | cww | UTF8
> test | cww | LATIN1
> [ ...snip... ]
>
> js=# SELECT lower('ÉÈ');
> lower
> -------
> éè
> (1 row)
>
> js=# \c test
> You are now connected to database "test".
> test=# SELECT lower('ÉÈ');
> lower
> -------
> ÉÈ
> (1 row)
>
> It seems the UTF8 database performs lower() correctly, but the LATIN1
> database does not.
>
> Colin
>
when database uses different encoding, than is specified in cluster's
initialization, then lower, upper doesn't work.
Pavel
From | Date | Subject | |
---|---|---|---|
Next Message | Colin Wetherbee | 2008-01-21 19:43:42 | Re: Problem of capital case-insensitive letter with accent |
Previous Message | Pavel Stehule | 2008-01-21 19:36:00 | Re: Problem of capital case-insensitive letter with accent |