Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Te6sl-0001i3-Q2 for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Nov 2012 16:22:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Te6sk-0002wY-N7 for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Nov 2012 16:22:34 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdwjS-0008Dg-AU for pgsql-bugs@postgresql.org; Thu, 29 Nov 2012 05:32:18 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdwjR-0000e0-9i for pgsql-bugs@postgresql.org; Thu, 29 Nov 2012 05:32:17 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdwjQ-0004Zy-VQ for pgsql-bugs@postgresql.org; Thu, 29 Nov 2012 05:32:17 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TdwjQ-0000Nh-Mp for pgsql-bugs@postgresql.org; Thu, 29 Nov 2012 05:32:16 +0000 Date: Thu, 29 Nov 2012 05:32:16 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7712: pgsql2shp should set Language Driver ID (LDID) header in .dbf To: pgsql-bugs@postgresql.org From: francois.bonzon@gmail.com X-Pg-Spam-Score: -2.3 (--) 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 The following bug has been logged on the website: Bug reference: 7712 Logged by: Fran=C3=A7ois Bonzon Email address: francois.bonzon@gmail.com PostgreSQL version: 9.2.1 Operating system: Ubuntu 12.04 Description:=20=20=20=20=20=20=20=20 This header is an optional feature of .DBF files to specify the character encoding of its text attributes (UTF-8, CP1251, etc.). So is a .cpg sibling file, that can carry the same information, and an alternate way to store this information, that many GIS software support. The dumper tool pgsql2shp should set this header, as PostreSQL knowns what encoding it is writing to. Some popular tools (including OGR library, QGIS) are mis-interpreting the encoding of a shapefile that is missing this header. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs