From: Curd Reinert <curdreinert@gmx.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Gradek <mike@busbud.com>
To: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
To: pgsql-bugs-owner@postgresql.org, Thomas Munro <thomas.munro@enterprisedb.com>
Subject: Re: BUG #13440: unaccent does not remove all diacritics
Date: Wed, 17 Jun 2015 10:44:38 +0200
Message-ID: <55813376.2040204@gmx.de> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Tom Lane <tgl@sss.pgh.pa.us> schrieb am 17.06.2015 00:01:48:
> Also, while my German is nearly nonexistent, I had the idea that sharp-S
> to "S" would be considered a case-folding transformation not an accent
> removal. Comments from German speakers welcome of course.
The sharp-s 'ß' is historically a ligature of two different kinds of s,
of which the first one looks more like an f and the second one looks
either like a normal 's' or a 'z' (that's why it is called 'szlig' in
html). It is usually considered to be a lower-case only character, event
though an uppercase sharp-s has recently been defined. If you are using
an encoding that doesn't support 'ß', the rule is to substitute it with
'ss'. If you want to capitalize a word containing a 'ß', you substitute
it with 'SS'. For sorting purposes, DIN 5007 says that 'ß' should be
treated as 'ss'.
That's just the German point of view. Thinks can be a little bit
different in other german speaking countries, e.g. in Switzerland, where
you may always substite 'ß' with 'ss' (even if your encoding has an 'ß').
In short: I would think that replacing 'ß' with 's' is wrong, and
certainly not an accent removal.
Best regards,
Curd
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: curdreinert@gmx.de, tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, mike@busbud.com, thomas.munro@enterprisedb.com
Subject: Re: BUG #13440: unaccent does not remove all diacritics
In-Reply-To: <55813376.2040204@gmx.de>
References: <55813376.2040204@gmx.de>
* 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