Re: UTF8 with BOM support in psql - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: UTF8 with BOM support in psql
Date
Msg-id 1258553163.3497.35.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: UTF8 with BOM support in psql  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: UTF8 with BOM support in psql
List pgsql-hackers
On ons, 2009-11-18 at 08:52 -0500, Andrew Dunstan wrote:
> 4) set the client encoding before the file is read in any of the ways 
> that have already been discussed and then allow psql to eat the BOM.

This is certainly a workaround, just like piping the file through a
suitable sed expression would be, but conceptually, the client encoding
is a property of the file and should therefore be marked in the file.



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: operator exclusion constraints
Next
From: Dimitri Fontaine
Date:
Subject: Re: operator exclusion constraints