pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: pgsql-general@postgresql.org
Subject: Re: problem with query
Date: Thu, 12 Sep 2013 15:57:34 -0700 (PDT)
Message-ID: <1379026654020-5770653.post@n5.nabble.com> (raw)
In-Reply-To: <CAApYZY-cQARqvjT=CFjKVabCgeUdKDQaAe1xA7bJ7e1dm7MS8Q@mail.gmail.com>
References: <CAApYZY8LOgsm8DSYCTJECYa4n4236DvrER6rfAgYX17mPZHGRQ@mail.gmail.com>
<CADfwSsCu89SYEGLohutCrp0_k4h8qNHWXYiRPCR05w=_wODuoQ@mail.gmail.com>
<CAApYZY-R=c-gVi0fptQ-BS3FKStr7VLao97Ejd=E9vn+qWhj9Q@mail.gmail.com>
<CADfwSsCARi3JO-ZXXp13rp96Y6a2swfS+M9k-zRNVMujUdzZaQ@mail.gmail.com>
<CAApYZY-cQARqvjT=CFjKVabCgeUdKDQaAe1xA7bJ7e1dm7MS8Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Roberto Scattini wrote
> what makes the 'ñ' char special that makes the queries the same when it is
> not there?
My knowledge here is a little rough around the edges but the following is
conceptually true:
For the most part legacy encodings (or non-encodings as this case
technically falls under) recognize only the explicit case-conversions for
the latin alphabet A-Z (mapped onto "a-z") without any accents.
To reasonably process strings/varchars/clobs that contain accented letters
it is necessary to use a more modern encoding - such as UTF-8/Unicode -
which contains the necessary logic to perform the additional conversions.
these should (not going to test it myself at this time) by
case-insensitively identical:
abcdëFGH
ABCDëfgh
since the "a-d, f-h" can be converted between and the one symbol that
cannot, "ë" is the same in both string....so it isn't that the ë breaks
things but rather that symbol has no upper-case alternative to equivalently
match against...just like numbers and symbols behave in the same situation.
To ASCII ë is just a symbol without any "letter of alphabet"
characteristics.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/problem-with-query-tp5770637p5770653.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
view thread (30+ messages) latest in thread
Message-ID: <1379026654020-5770653.post@n5.nabble.com> Permalink: ../1379026654020-5770653.post@n5.nabble.com/ Also on: postgresql.org/message-id/1379026654020-5770653.post@n5.nabble.com ·
reply
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 using the --to and --cc options: reply via email To: pgsql-general@postgresql.org Cc: polobo@yahoo.com Subject: Re: problem with query In-Reply-To: <1379026654020-5770653.post@n5.nabble.com> * 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