Invalid byte sequence for encoding UTF-8



i am using php with postgresql. when i submit post query to the
server. i have the pg_exec error
<snip>
Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid
byte sequence for encoding "UTF8": 0x93 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".
</snip>
is there any function to prevent this type of error. something i can
apply to any POST query
before i submit to pg_query() ?

thanks you.
.



Relevant Pages

  • Re: PAE-CE84 Router Failure
    ... >>> I found I was unable to gain access to the internal web ... >>> server to check the router's settings, ... I have easily accessed my *new* router using!FTPc, ...
    (comp.sys.acorn.networking)
  • Re: Tom Porterfield MS-MVP?
    ... > Let me begin with the fact that I have the utmost respect ... one reason only. ... to the posts by the server. ... Your first post (sequence 98349): ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Math.random() algorithm
    ... If all numbers are issued by a single server, the task is trivial, as ... I want a standard way to assign a unique id to every single XML ... permuted or flipped so that the sequence is not obvious from samples). ... The problem lies in getting enough apparent randomness to initialise the ...
    (comp.lang.javascript)
  • RE: Dovecot versus Postfix
    ... <SNIP> ... It says "Replace mail.example.com with your mail server ... configure the default gateway and Domain name server as well as the ... user accounts. ...
    (Ubuntu)
  • Hows the serenity! (was Re: Processing Ideas Needed:)
    ... tasks being "stateless" and the ACMS transaction monitor maintaining a fully ... pre-authorized and statefull connection to the client. ... response, but if server and client were cooperating on a row-by-row basis, ... [snip, snip, snip, snap, snip snippety snip] ...
    (comp.os.vms)