| From: | Alban Hertroys <haramrae(at)gmail(dot)com> |
|---|---|
| To: | Craig Ringer <ringerc(at)ringerc(dot)id(dot)au> |
| Cc: | Leif Biberg Kristensen <leif(at)solumslekt(dot)org>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>, Alan Millington <admillington(at)yahoo(dot)co(dot)uk> |
| Subject: | Re: Using psql -f to load a UTF8 file |
| Date: | 2012-09-21 07:01:45 |
| Message-ID: | 22292E67-BFF7-4987-8BE5-C0CC35C1B3AC@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> I strongly disagree. The BOM provides a useful and standard way to differentiate UTF-8 encoded text files from the random pile 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Carrington, Matthew (Produban) | 2012-09-21 08:46:46 | Re: pg_upgrade: out of memory |
| Previous Message | Alban Hertroys | 2012-09-21 06:50:48 | Re: Expression to construct a anonymous record with named columns? |