| From: | José Fermín Francisco Ferreras <josefermin54(at)hotmail(dot)com> |
|---|---|
| To: | Lista PostgreSQL <pgsql-es-ayuda(at)postgresql(dot)org> |
| Subject: | error con client_encoding |
| Date: | 2010-04-21 13:16:46 |
| Message-ID: | COL103-W32021813B352DCDB7379CAC6090@phx.gbl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
Buen día, estoy por hacer un copy de un archivo CSV y a la hora de ejecutarlo me lanza el siente error:
ERROR: invalid byte sequence for encoding "UTF8": 0xff
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".
CONTEXT: COPY tabla, line 1
********** Error **********
ERROR: invalid byte sequence for encoding "UTF8": 0xff
SQL state: 22021
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".
Context: COPY tabla, line 1
Estos son los datos de la base de datos:
CREATE DATABASE basededatos
WITH OWNER = postgres
ENCODING = 'LATIN1'
LC_COLLATE = 'C'
LC_CTYPE = 'C'
CONNECTION LIMIT = -1;
Sistema Operativo: windows XP
Postgresql: 8.4.3
Cambie el parametro: client_encoding = 'latin1', pero nada de nada.
Alguien ha podido hacer algun cambio.
ing. José Fermín Francisco Ferreras
San Francisco de Macorís, Rep. Dom.
_________________________________________________________________
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mariano Reingart | 2010-04-21 14:18:51 | Re: Fwd: Ayuda! |
| Previous Message | Jonathan Finlay | 2010-04-21 13:02:15 | Re: [pgsql-es-ayuda] Re: [pgsql-es-ayuda] Migración de Oracle a Postgresql |