From: DMS Tech, Sarp <sarp@dms-tech.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5903: Turkish encoding problem
Date: Wed, 1 Jun 2011 09:52:21 +0000
Message-ID: <964A4AFEE2E4834BA0DDB5F75468FEBC07648683@DMS-DOMAIN-SV1.dmstech.local> (raw)
In-Reply-To: <AANLkTin7Wv-hkzjSAudTFH-SmRduyZ+cDOTaVEa+n0yA@mail.gmail.com>
References: <201103010659.p216xlY1096718@wwwmaster.postgresql.org>
<AANLkTin7Wv-hkzjSAudTFH-SmRduyZ+cDOTaVEa+n0yA@mail.gmail.com>
When we run an application on the same machine & OS, application's lower and upper functions results are correct but PostgreSQL does not behave similar.
-----Original Message-----
From: Robert Haas [mailto:robertmhaas@gmail.com]
Sent: Thursday, March 03, 2011 8:32 PM
To: DMS Tech, Sarp
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #5903: Turkish encoding problem
On Tue, Mar 1, 2011 at 1:59 AM, Sarp Akal <sarp@dms-tech.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference: 5903
> Logged by: Sarp Akal
> Email address: sarp@dms-tech.com
> PostgreSQL version: 9.0.2
> Operating system: Windows Server 2008 R2 x64
> Description: Turkish encoding problem
> Details:
>
> The server is setup for UTF8 encoding and collation and character type are
> Turkish_Turkey.1254
>
> The following code fails:
>
> select lower('İ') --> Lowercase of turkish capital I-with dot returns
> exactly the same character.
>
> select upper('ı') --> Uppercase of turkish small i-without dot returns
> exactly the same character.
>
> select lower('I') --> Lowercase of turkish capital I returns i where it
> should be i-without dot.
>
> select upper('i') --> Uppercase of turkish small returns I where it should
> be I-with dot.
I might be wrong about this, but I think this behavior is determined
by the operating system behavior of the locale you've selected, and we
just believe whatever the OS says.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: sarp@dms-tech.com, robertmhaas@gmail.com
Subject: Re: BUG #5903: Turkish encoding problem
In-Reply-To: <964A4AFEE2E4834BA0DDB5F75468FEBC07648683@DMS-DOMAIN-SV1.dmstech.local>
References: <201103010659.p216xlY1096718@wwwmaster.postgresql.org> <AANLkTin7Wv-hkzjSAudTFH-SmRduyZ+cDOTaVEa+n0yA@mail.gmail.com> <964A4AFEE2E4834BA0DDB5F75468FEBC07648683@DMS-DOMAIN-SV1.dmstech.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox