dbTalk Databases Forums  

Re: [BUGS] 22021: invalid byte sequence for encoding \"UNICODE\":

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


Discuss Re: [BUGS] 22021: invalid byte sequence for encoding \"UNICODE\": in the mailing.database.pgsql-bugs forum.



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

Default Re: [BUGS] 22021: invalid byte sequence for encoding \"UNICODE\": - 10-29-2004 , 01:13 PM






Lucas Sultanum wrote:
Quote:
I am not sure if this is a bug or I am doing something wrong. When I
execute the following command (*insert into a_cadclias values
('6542','65465','amaro','ámaro')*) on pgAdmin III Query it works pretty
well, but when I try to do the same through a C# App connecting to the
database through an ODBC driver I get the following error:

*"ERROR: 22021: invalid byte sequence for encoding \"UNICODE\": 0xe16d61"*
Sounds as if you're not using the correct client encoding; your app is
probably non-unicode, but you're using client encoding Unicode.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


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.