invalid byte sequence for encoding "UTF8"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gouse
    New Member
    • Feb 2007
    • 18

    #1

    invalid byte sequence for encoding "UTF8"

    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
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    can you print the query here? i mean the query you are trying to execute

    Comment

    Working...