Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id BEBF61337BEC for ; Fri, 4 Mar 2011 09:34:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 68851-08 for ; Fri, 4 Mar 2011 13:34:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wikingerlegenden.de (static.154.214.46.78.clients.your-server.de [78.46.214.154]) by mail.postgresql.org (Postfix) with ESMTP id 693951337BE5 for ; Fri, 4 Mar 2011 09:34:36 -0400 (AST) Received: from [192.168.23.242] (static.154.214.46.78.clients.your-server.de [78.46.214.154]) (authenticated bits=0) by wikingerlegenden.de (8.14.2/8.14.2) with ESMTP id p24DYaXh095144 for ; Fri, 4 Mar 2011 14:34:36 +0100 (CET) (envelope-from foo@meisterderspiele.de) Message-ID: <4D70EA6C.7030403@meisterderspiele.de> Date: Fri, 04 Mar 2011 14:34:36 +0100 From: =?ISO-8859-15?Q?Torsten_Z=FChlsdorff?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: Missing Bug-Report #5904? References: <4D70ADE8.2030500@meisterderspiele.de> <201103041421.48462.andres@anarazel.de> In-Reply-To: <201103041421.48462.andres@anarazel.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201103/99 X-Sequence-Number: 29609 Hello Andres, >> Now for the Problem: There is a problem with the translation of the >> english word "March" to the german "März". Instead of "März" i get >> "MäRz" (with uppercase "r"). >> >> You can reproduce it as follow: >> # SET lc_time = "de_DE.UTF-8"; >> # SELECT to_char('2011-03-04 00:00:01'::date, 'TMMonth YYYY'); >> to_char >> ----------- >> MäRz 2011 >> >> I did not find the translation file for this, so i can't add a patch or >> check for other misspellings. >> >> My System: >> PostgreSQL 9.0.3 >> FreeBSD 8.1-RELEASE > Thats very likely a problem of your operating systems locales. What spelling > does the month have if you construct it with `date` or such? Done directly at the bash on the same system: $ date +%B March $ export LC_TIME=de_DE.UTF-8 $ date +%B März And in PostgreSQL: # SET lc_time = "de_DE.UTF-8"; SET # SELECT to_char(current_date, 'TMMonth YYYY'); to_char ----------- MäRz 2011 I also can reproduce this at a FreeBSD 7.0-STABLE. Greetings, Torsten