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_encodin g".
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
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_encodin g".
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
Comment