X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4C60B3CC4ED for ; Fri, 17 Dec 2004 21:21:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69973-09 for ; Fri, 17 Dec 2004 21:21:48 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id A9A8B3CC3A4 for ; Fri, 17 Dec 2004 21:21:49 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iBHLLnhG024174; Fri, 17 Dec 2004 16:21:49 -0500 (EST) To: Jaime Casanova Cc: pgsql-patches@postgresql.org Subject: Re: From latin9 to sql_ascii?? In-reply-to: <20041217210327.73063.qmail@web50006.mail.yahoo.com> References: <20041217210327.73063.qmail@web50006.mail.yahoo.com> Comments: In-reply-to Jaime Casanova message dated "Fri, 17 Dec 2004 15:03:27 -0600" Date: Fri, 17 Dec 2004 16:21:49 -0500 Message-ID: <24173.1103318509@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/158 X-Sequence-Number: 14150 Jaime Casanova writes: > Why it not work on Latin9, >> Probably because it hasn't got a table for Latin9. >> >> Feel free to contribute one --- see >> src/backend/utils/adt/ascii.c. > This page shows the differences between Latin1 & > Latin9: > http://www.cs.tut.fi/~jkorpela/latin9.html > The diffs are: > 164: the euro symbol. (sql_ascii = 'E')??? > 166: an S with a symbol above (sql_ascii = 'S') > 168: the same but lower case (sql_ascii = 's') > 180: an Z with a symbol above (sql_ascii = 'Z') > 184: the same but lower case (sql_ascii = 'z') > 188: it's an O merge with an E (sql_ascii = '')??? > 189: the same but lower case (sql_ascii = '')??? > 190: an Y with a 2 points above (sql_ascii = 'Y') > Comments? Works for me. Anyone feel this is too big a change to push into 8.0? Strictly speaking it's a new feature, but it sure looks harmless from here. Personally I'd say that the euro symbol should map to ' ' not 'E', but am not set on that. regards, tom lane