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

From Tom Lane
Subject Re: UTF8 with BOM support in psql
Date
Msg-id 15613.1258418255@sss.pgh.pa.us
Whole thread Raw
In response to Re: UTF8 with BOM support in psql  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> Please remember \encoding or SET client_encoding appear
> *after* BOM at beginning of file. I'll agree if the condition is 
> "Eat BOM at beginning of file and <<set client encoding to UTF-8>>",

As has been stated multiple times, that will not get accepted,
because it will *break* files in other encodings that chance to
match the BOM pattern.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: Partitioning option for COPY
Next
From: Andrew Dunstan
Date:
Subject: Re: UTF8 with BOM support in psql