Re: Strange errors from 9.2.1 and 9.2.2 (I hope I'm missing something obvious)
От | Dan Scott |
---|---|
Тема | Re: Strange errors from 9.2.1 and 9.2.2 (I hope I'm missing something obvious) |
Дата | |
Msg-id | CAAY5AM0QDF7ndBHOSiNYYK55+GBaOc2AhpOfDn62JvKw7WM8sg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Strange errors from 9.2.1 and 9.2.2 (I hope I'm missing something obvious) (David Gould <daveg@sonic.net>) |
Список | pgsql-hackers |
<p dir="ltr"><br /> On Dec 11, 2012 9:28 PM, "David Gould" <<a href="mailto:daveg@sonic.net">daveg@sonic.net</a>> wrote:<br/> ><br /> > Thank you. I got the example via cut and paste from email and pasted it<br /> > into psqlon different hosts. od tells me it ends each line with:<br /> ><br /> > \n followed by 0xC2 0xA0 and then normalspaces. The C2A0 thing is<br /> > apparently NO-BREAK SPACE. Invisible, silent, odorless but still deadly.<br/> ><br /> > Which will teach me not to accept text files from the sort of people who<br /> > write codein Word I guess.<p dir="ltr">It's not just Word... I was bitten by this last week by a WYSIWYG HTML widget I was usingto write some documentation. When I copied the examples I had created out of said environment during a final technicalaccuracy pass and they failed to run in psql, I panicked for a few minutes.<p dir="ltr">I eventually determinedthat, rather than just wrapping my code in <pre> tags, the widget had created entities that werefaithfully converted into Unicode non-breaking spaces in the psql input.
В списке pgsql-hackers по дате отправления: