Re: Identical command-line command will not work with \i metacommand and filename

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Identical command-line command will not work with \i metacommand and filename
Дата
Msg-id 4BCFFCD4.7010601@archonet.com
обсуждение исходный текст
Ответ на Re: Identical command-line command will not work with \i metacommand and filename  (John Gage <jsmgage@numericable.fr>)
Ответы Re: Identical command-line command will not work with \i metacommand and filename
Byte order mark added by (the envelope please...) pgAdmin3 !!
Список pgsql-general
On 22/04/10 08:24, John Gage wrote:
> Yeesh.  What the ding-dong is this?
>
> JohnGage:EFNWebsite johngage$ od -a CopySql.sql
> 0000000 ? ? ? s e l e c t sp * sp f r o m
> 0000020 sp m e s h _ d e s c r i p t o r
> 0000040 s ; nl nl
>
> What are the ?'s. Mon Dieu, what is going on?

http://en.wikipedia.org/wiki/Byte_order_mark

Tends to get added if you go through a Windows system. Useless for utf-8
afaik. Confuse the hell out of you because various tools parse and hide
them then you pipe the file to a script and everything falls over.

Bunch of scripts available here to remove them:
   http://www.xs4all.nl/~mechiel/projects/bomstrip/

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: installation on vista
Следующее
От: John Gage
Дата:
Сообщение: Re: Identical command-line command will not work with \i metacommand and filename