Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 972AA1C6FE3C for ; Thu, 26 Jan 2012 13:50:04 -0400 (AST) Received: from mailout-de.gmx.net ([213.165.64.23]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RqTSS-00059l-1I for pgsql-hackers@postgresql.org; Thu, 26 Jan 2012 17:50:04 +0000 Received: (qmail invoked by alias); 26 Jan 2012 17:49:47 -0000 Received: from a88-115-218-87.elisa-laajakaista.fi (EHLO [10.0.0.108]) [88.115.218.87] by mail.gmx.net (mp021) with SMTP; 26 Jan 2012 18:49:47 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/yu7cHlt/yJ0LBdq0YiZ/y+ZFsSDL7/fjlBqzUiC BY+W00EvH4wcdy Message-ID: <1327600185.26839.2.camel@vanquo.pezone.net> Subject: Re: Client Messages From: Peter Eisentraut To: Heikki Linnakangas Cc: Jim Mlodgenski , Fujii Masao , pgsql-hackers@postgresql.org Date: Thu, 26 Jan 2012 19:49:45 +0200 In-Reply-To: <4F21102A.2080506@enterprisedb.com> References: <4F167E08.9030802@enterprisedb.com> <4F1EA62C.8010203@enterprisedb.com> <4F21102A.2080506@enterprisedb.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/1521 X-Sequence-Number: 202108 On tor, 2012-01-26 at 10:34 +0200, Heikki Linnakangas wrote: > For postgresql.conf I think we could make a rule that it's always in > UTF-8. We haven't had to take a stance on the encoding used in > postgresql.conf before, but IMHO UTF-8 only would be quite reasonable. We have so far violently resisted forcing UTF-8 anywhere, and this doesn't seem like a good place to start. We could perhaps recognize an encoding declaration like this in the file: http://docs.python.org/reference/lexical_analysis.html#encoding-declarations