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

Encoding problem

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Encoding problem
Date: 2001-03-21 09:00:01
Message-ID: 200103210900.f2L901Z16236@hub.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Danny Kao (danny(dot)kao(at)autotools(dot)com(dot)tw) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Encoding problem

Long Description
I have tried "initdb --encoding=BIG5" 
then doing some create table and insert.
As shows below,it seems loss one byte "\",
and dumping data  is the same.
How could I got the right result?


Sample Code
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

template1=# \encoding
BIG5
template1=# create table a (a text);
CREATE
template1=# insert into a values('\h');
INSERT 18761 1
template1=# select * from a;
  a  
-----
 h
(1 row)

No file was uploaded with this report


Responses

pgsql-bugs by date

Next:From: Peter T MountDate: 2001-03-21 11:45:09
Subject: Re: getBigDecimal problem
Previous:From: Christopher Kings-LynneDate: 2001-03-21 06:54:00
Subject: RE: libpqeasy cursor error after multiple calls

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