From: Oliver Jowett <oliver@opencloud.com>
To: James Im <im-james@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
Date: Wed, 21 Feb 2007 00:50:14 +1300
Message-ID: <45DAE076.1060407@opencloud.com> (raw)
In-Reply-To: <BAY7-F17FFE0E324AB3B642C547E96890@phx.gbl>
References: <BAY7-F17FFE0E324AB3B642C547E96890@phx.gbl>
James Im wrote:
> I've got another problem. I sometimes get the following SQLException
> when doing an insert:
>
> ERROR: invalid byte sequence for encoding "UTF8": 0x00
You're trying to insert a string which contains a '\0' character. The
server can't handle strings containing embedded NULs, as it uses C-style
string termination internally.
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: oliver@opencloud.com, im-james@hotmail.com, pgsql-jdbc@postgresql.org
Subject: Re: invalid byte sequence for encoding "UTF8": 0x00
In-Reply-To: <45DAE076.1060407@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox