Re: Using psql -f to load a UTF8 file - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Using psql -f to load a UTF8 file
Date
Msg-id 22292E67-BFF7-4987-8BE5-C0CC35C1B3AC@gmail.com
Whole thread Raw
In response to Re: Using psql -f to load a UTF8 file  (Craig Ringer <ringerc@ringerc.id.au>)
List pgsql-general
> I strongly disagree. The BOM provides a useful and standard way to differentiate UTF-8 encoded text files from the
randompile of encodings that any given file could be. 


I agree on the concept, but I'm having a bit of trouble understanding how a "Byte Order Marker" is useful to an 8-bit
encoding.It's not possible to get the byte order wrong in UTF-8, is it? 
Yes, being able to mark data as being encoded as UTF-8 is useful, but is a BOM the right tool?

Alban Hertroys

--
Screwing up is an excellent way to attach something to the ceiling.



pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Expression to construct a anonymous record with named columns?
Next
From: "Carrington, Matthew (Produban)"
Date:
Subject: Re: pg_upgrade: out of memory