From: | John Gage <jsmgage(at)numericable(dot)fr> |
---|---|
To: | Richard Huxton <dev(at)archonet(dot)com> |
Cc: | Scott Mead <scott(dot)lists(at)enterprisedb(dot)com>, Postgres General Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Identical command-line command will not work with \i metacommand and filename |
Date: | 2010-04-22 07:48:48 |
Message-ID: | 4B0142FE-63C4-4E66-8458-72DA7368A86B@numericable.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-general |
> 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/
Correct. I found the following via Google.
"I created a file utf8.rb with this content: C:\>ruby -e "p
File.read('utf8.rb')" "\357\273\277puts \"Hello World\""
The "\357\273\277" part is the Byte Order Mark for UTF-8, my editor
automatically put it at the beginning of the file, because I saved it
as UTF-8."
At least it isn't some evil virus. Have to do Mr. WorkAround now.
Thank you very much for your help Scott and Richard,
John Gage
From | Date | Subject | |
---|---|---|---|
Next Message | John Gage | 2010-04-22 09:10:18 | Byte order mark added by (the envelope please...) pgAdmin3 !! |
Previous Message | Richard Huxton | 2010-04-22 07:37:56 | Re: Identical command-line command will not work with \i metacommand and filename |
From | Date | Subject | |
---|---|---|---|
Next Message | Ognjen Blagojevic | 2010-04-22 08:20:07 | Re: Embedded Postgres |
Previous Message | Richard Huxton | 2010-04-22 07:37:56 | Re: Identical command-line command will not work with \i metacommand and filename |