By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,480 Members | 771 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,480 IT Pros & Developers. It's quick & easy.

invalid byte sequence for encoding "UTF8"

P: 18
Hi Friends,
I am facing a problem at the time of Updating or Inserting the UNICODE data. My Database is created with UNICODE(UTF8) support. I have a UNICODE data and at the time of updating/inserting with this UNICODE data It was throwing an error message as
"invalid byte sequence for encoding "UTF8": 0xa53
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".

I am using the libpq 'C' library for executing the Query. At the time of Executing Query I am converting the data to UTF8 and also I am setting the Client_Encoding to "UTF8".

Could you please help me regarding this issue.
waiting for your valuable reply.

Thanks in Advance
Gouse Shaik
Mar 13 '12 #1
Share this Question
Share on Google+
1 Reply


100+
P: 1,059
can you print the query here? i mean the query you are trying to execute
Apr 16 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.