alter role nome_do_login set client_encoding to utf8
  ----- Original Message ----- 
  From: Leonardo Cezar 
  To: Comunidade PostgreSQL Brasileira 
  Sent: Thursday, August 02, 2007 5:22 PM
  Subject: Re: [pgbr-geral] Erro de Codificação de UTF-8


  On 7/31/07, Rodrigão <[EMAIL PROTECTED]> wrote:
    Pessoal,

    estou com problemas, tenho uma base funcionando em utf-8, porém quando a 
minha aplicação tenta inserir alguma palavra acentuada ele dá um erro:

    ERROR: invalid byte sequence for encoding "UTF8": 0xf3732d47 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"

    já tentei alterar as configurações no arquivo postgresql.conf, setando o 
client_encoding para utf-8, porém sem sucesso, alguém tem alguma idéia ?


  SET client_encoding TO utf8;


  -Leo
  -- 
  Leonardo Cezar
  http://www.hostsystems.com.br
  http://www.postgresql.org.br 


------------------------------------------------------------------------------


  _______________________________________________
  pgbr-geral mailing list
  [email protected]
  https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a