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: 200604182334.k3INYrUA041176@wwwmaster.postgresql.org (view raw or flat)
Thread:
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
Details: 

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 ('\');

Responses

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-2014 The PostgreSQL Global Development Group