Skip site navigation (1) Skip section navigation (2)

BUG #2400: '' considered invalid UTF-8 character

From: "Yusuf Siddiqui" <ysiddiqui(at)i3(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2400: '' considered invalid UTF-8 character
Date: 2006-04-18 23:34:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2400
Logged by:          Yusuf Siddiqui
Email address:      ysiddiqui(at)i3(dot)com
PostgreSQL version: 8.1
Operating system:   Linux
Description:        '' considered invalid UTF-8 character

The character '' is rejected as an invalid UTF-8 character.

Here are the steps used to recreate it:

create table test (text_field text);
insert into test (text_field) values ('');

Returned error: 
invalid UTF-8 byte sequence detected near byte 0x92

This statement also does not work:
insert into test (text_field) values ('\');


pgsql-bugs by date

Next:From: Bruce MomjianDate: 2006-04-19 02:50:24
Subject: Re: bug in windows xp
Previous:From: Bruce MomjianDate: 2006-04-18 22:51:43
Subject: Re: problem with kill script

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group