Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5ESv-0003Wl-Dq for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jun 2015 14:37:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5ESu-0001S5-1x for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jun 2015 14:37:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z58xp-0004Y0-2L; Wed, 17 Jun 2015 08:44:53 +0000 Received: from mout.gmx.net ([212.227.17.20]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1Z58xm-00030r-14; Wed, 17 Jun 2015 08:44:51 +0000 Received: from [172.29.3.245] ([145.253.186.130]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lip2P-1YZ7Wm2Jkj-00d2eh; Wed, 17 Jun 2015 10:44:41 +0200 Message-ID: <55813376.2040204@gmx.de> Date: Wed, 17 Jun 2015 10:44:38 +0200 From: Curd Reinert User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Tom Lane , Alvaro Herrera , Michael Gradek , PostgreSQL Bugs , pgsql-bugs-owner@postgresql.org, Thomas Munro Subject: Re: BUG #13440: unaccent does not remove all diacritics Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:9jT8fm6hpwe9w8zPtr2YcYoB2OHf+xJWxCH8zmrDFHmDneGjy7i Duy14UPDLi7XkRQ35HqnLsHxZLibdkYMRAohi0kAQ0QlYQ7uewbPdsqnD4mYpJCl27t+cSS UD0G9BxoupHh1rHxfGhMcSah7wtLSMACGT2xI6bOqA3E5zYdZ3AXYxB2S+qUQZ+uGYw9lS/ habNfUnVicEhykNR90O9g== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Tom Lane 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