SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
postgresql and encoding problem

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
postgresql and encoding problem
Author Message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post postgresql and encoding problem Reply with quote
I have a lot of problems with encoding. anyone know solution for this?

this screen is from windows notepad


with pgadmin when I try type:

... where name = 'ę' <------ when I try type 'ę' (Alt + e) char I got some chinesse character instead of my 'ę'.


with sql server 2008 r2 and sql management studio all seems to work fine


sory for my poor english
Sat Feb 26, 2011 8:15 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
What's is the datatype of that column?
Sat Feb 26, 2011 2:14 pm View user's profile Send private message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post Reply with quote
Code:
CREATE TABLE miejscowosci
(
  id_miejscowosci serial NOT NULL,
  nazwa character varying(35) NOT NULL,
  kod_pocztowy character(6) NOT NULL,
  CONSTRAINT miejscowosci_pkey PRIMARY KEY (id_miejscowosci)
)




Sat Feb 26, 2011 5:27 pm View user's profile Send private message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post Reply with quote
can anyone help?
Wed Mar 02, 2011 4:50 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
What's the database-level collation of your PostgreSQL database? Which PostgreSQL server version are you running?
Wed Mar 02, 2011 5:37 pm View user's profile Send private message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post Reply with quote
I use postgresql 9 but with 8 problem still exist. all database and tables are in utf-8

sory for my poor english
Tue Mar 08, 2011 4:00 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
But what about database-level collation of your PostgreSQL database? Can you answer that question?
Wed Mar 09, 2011 9:44 am View user's profile Send private message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post Reply with quote
how can i check this?
Sun Mar 13, 2011 7:32 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
in pgAdmin tool right click your database and choose Properties in the right-click menu. What do you see in Encoding property?
Mon Mar 21, 2011 4:49 pm View user's profile Send private message
banita



Joined: 26 Feb 2011
Posts: 6
Country: Argentina

Post Reply with quote
UTF-8
Wed Mar 23, 2011 3:58 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Thank you. That makes sense. SQL Assistant doesn't currently support display of Unicode values with double-byte character sets. It can display single-byte character sets only. If you are storing single byte character set text values in your table, please consider changing column collation to ASCII or compatible.
Wed Mar 23, 2011 3:50 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.