Re: invalid byte sequence for encoding "UTF8": 0x00

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: pawel_kukawski <kukismen(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
Date: 2011-11-20 10:19:15
Message-ID: 20111120101915.GA10708@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2011-11-20 10:28:34 Re: Installed. Now what?
Previous Message Andrus 2011-11-20 10:09:18 Re: How to install latest stable postgresql on Debian