Re: BUG #2010: COPY command does not recognise UTF-8 text files with leading BOM

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Roddi Walker <roddiwalker(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2010: COPY command does not recognise UTF-8 text files with leading BOM
Date: 2005-11-02 01:22:46
Message-ID: 20051102012245.GB23723@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Roddi Walker wrote:

> This BOM header is legal - see http://www.unicode.org/faq/utf_bom.html#BOM -
> but probably used only on Windows.

Well, that FAQ says that the marker could be prohibited under some
higher-level protocols, so I guess this is one of them.

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"Now I have my system running, not a byte was off the shelf;
It rarely breaks and when it does I fix the code myself.
It's stable, clean and elegant, and lightning fast as well,
And it doesn't cost a nickel, so Bill Gates can go to hell."

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Qingqing Zhou 2005-11-02 01:42:02 Re: make PROFILE=-pg segment fault
Previous Message Tom Lane 2005-11-01 23:40:35 Re: make PROFILE=-pg segment fault