Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 1FBCAF6332A; Thu, 19 Jul 2012 05:12:37 -0300 (ADT) Received: from mail-lb0-f174.google.com ([209.85.217.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Srlqc-0000xA-QC; Thu, 19 Jul 2012 08:12:36 +0000 Received: by lbbgm6 with SMTP id gm6so3252410lbb.19 for ; Thu, 19 Jul 2012 01:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Tz8WaR+PRScHPHYhWa1pBa9d37jlUrIgzn/BSV356II=; b=F1lOjAMr9AlL34XR/kJmnVjZ2R67gY1d/kaDZJFV3t6bb8czZ8cllry+dutxhP6uJ+ c/KJvGiqqA7690RPPu3mBo3JnRsVWDCXzjKVHZDER+nluasFC6Sy906qKOi9N1SGNyqE V9jzVaIxk1224ZgBTm9UnUyfEwb6nEMkwHh7FKIQixzZAUOKqryHz+08x4NAx9dNSy2r eIp/8ycuuoK/t3baYHaQczjN9w8n/IlhqTWyAqWeWsn+VsMRaKgTNLxN0FAAbmrUUh71 YlOp3NMHCReQgpevMeMsDehUq/pLu4AKogjsWtYqYEDqJ5WJOOICMcXkdCpGYoGwS4pz 672Q== Received: by 10.112.42.41 with SMTP id k9mr645972lbl.90.1342685542035; Thu, 19 Jul 2012 01:12:22 -0700 (PDT) Received: from [1.0.0.7] ([94.138.26.200]) by mx.google.com with ESMTPS id hm7sm1362340lab.12.2012.07.19.01.12.19 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 01:12:21 -0700 (PDT) Message-ID: <5007C161.7070100@gmail.com> Date: Thu, 19 Jul 2012 12:12:17 +0400 From: Alexander Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Tatsuo Ishii CC: ringerc@ringerc.id.au, pgsql-general@postgresql.org, yi.codeplayer@gmail.com, pgsql-bugs@postgresql.org Subject: Re: main log encoding problem References: <5006D340.4000808@gmail.com> <50078B96.8020206@ringerc.id.au> <5007B5FB.4020208@gmail.com> <20120719.164951.1616935804595452729.t-ishii@sraoss.co.jp> In-Reply-To: <20120719.164951.1616935804595452729.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201207/159 X-Sequence-Number: 33635 >> The initial issue was that log file contains messages in different >> encodings. So transcoding is performed already, but it's not > This is not true. Transcoding happens only when PostgreSQL is built > with --enable-nls option (default is no nls). I'll restate the initial issue as I see it. I have Windows and I'm installing PostgreSQL for Windows (latest version, downloaded from enterprise.db). Then I create a database with default settings (with UTF-8 encoding), do something wrong in my DB and get such a log file with the two different encodings (UTF-8 and Windows-1251 (ANSI)) and with localized postgres messages.