invalid byte sequence for encoding "UTF8": 0x00

Started by pawel_kukawskiover 14 years ago2 messagesgeneral
Jump to latest
#1pawel_kukawski
kukismen@gmail.com

Hi,

Is there any way I can store NULL character (\u0000) in string ?

Or there is only one option that I have change every text field to bytea.

Regards,
Paweł

--
View this message in context: http://postgresql.1045698.n5.nabble.com/invalid-byte-sequence-for-encoding-UTF8-0x00-tp5007173p5007173.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In reply to: pawel_kukawski (#1)
Re: invalid byte sequence for encoding "UTF8": 0x00

On Sat, Nov 19, 2011 at 09:32:12AM -0800, pawel_kukawski wrote:

Is there any way I can store NULL character (\u0000) in string ?

Or there is only one option that I have change every text field to bytea.

correct question is: why do you want to store \u0000 in text field?

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/