Re: encoding confusion

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: encoding confusion
Дата
Msg-id 32F50C6D-492B-4500-A797-937152E5AA46@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Re: encoding confusion  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
On Jun 11, 2008, at 9:03 AM, Richard Huxton wrote:

> Sim Zacks wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> The data in the longblob field might be text, which could be
>> causing the
>> confusion. For example, when I look at the data in the longblob
>> field, I
>> see /n for a newline and when I look at the bytea it is 012.
>
> That's right - newline is ASCII 10 (or 12 in octal).

Just from the top of my head, but aren't mail headers supposed to be
terminated by \r\n? In that case you're missing a byte 13 (or 015
octal) before the 012 byte. That could explain your missing line breaks.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4850140f927661409586227!



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Unable to dump database using pg_dump
Следующее
От: Adam Dear
Дата:
Сообщение: Re: Unable to dump database using pg_dump