dbTalk Databases Forums  

[BUGS] BUG #1438: Non UTF-8 client encoding problem

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1438: Non UTF-8 client encoding problem in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Estagus
 
Posts: n/a

Default [BUGS] BUG #1438: Non UTF-8 client encoding problem - 01-24-2005 , 01:08 AM







The following bug has been logged online:

Bug reference: 1438
Logged by: Estagus
Email address: wizard580 (AT) gmail (DOT) com
PostgreSQL version: 7.4.6
Operating system: Debian SID
Description: Non UTF-8 client encoding problem
Details:

Hi...
I use postgresql 7.4.6 on Debian woody SID/unstable.
I set client encoding to koi8 in file postgresql.conf
I connect to base using psql shell.

See shell commands:
# \encoding
KOI8
# \d
bla bla bla all ok

# CREATE TABLE onoff(id BIGSERIAL UNIQUE NOT NULL, user_id BIGINT NOT NULL,
made_id BIGINT NOT NULL, progress BOOL NOT NULL, is_on BOOL NOT NULL,
tarif_id INTEGER NOT NULL, date_ins DATE NOT NULL, date_todo DATE NOT
NULL);
ERROR: ignoring unconvertible UTF-8 character 0xd3cf

# set client_encoding to utf8;
SET

# CREATE TABLE onoff(id BIGSERIAL UNIQUE NOT NULL, user_id BIGINT NOT NULL,
made_id BIGINT NOT NULL, progress BOOL NOT NULL, is_on BOOL NOT NULL,
tarif_id INTEGER NOT NULL, date_ins DATE NOT NULL, date_todo DATE NOT
NULL);
bla bla bla all ok...

# \d
ERROR in russian...

# set client_encoding to koi8;
SET

# \d
all ok...

If i missed some info, please tell me...

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1438: Non UTF-8 client encoding problem - 01-24-2005 , 09:38 AM






"Estagus" <wizard580 (AT) gmail (DOT) com> writes:
Quote:
# CREATE TABLE onoff(id BIGSERIAL UNIQUE NOT NULL, user_id BIGINT NOT NULL,
made_id BIGINT NOT NULL, progress BOOL NOT NULL, is_on BOOL NOT NULL,
tarif_id INTEGER NOT NULL, date_ins DATE NOT NULL, date_todo DATE NOT
NULL);
ERROR: ignoring unconvertible UTF-8 character 0xd3cf
I couldn't reproduce this problem, which means you haven't given enough
information. Perhaps the issue is locale specific?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.