From: | "Carlos Pineda" <carlospinedave(at)gmail(dot)com> |
---|---|
To: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Error por encoding |
Date: | 2008-05-23 21:05:09 |
Message-ID: | af88c0490805231405u27facfc1n4e03e9381bf1f8fc@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hola a todos,
Tengo mi Postgresql para windows 8.3.1 y me conecto con el usuario postgres,
en el archivo postgresql.conf tengo seteado el siguiente valor: client_encoding
= 'LATIN1'
luego creé la siguiente base de datos:
CREATE DATABASE "PB"
WITH OWNER = postgres
ENCODING = 'LATIN1';
ALTER DATABASE "PB" SET client_encoding=latin1;
notese que el encoding de la BD tambien está seteado a LATIN1, pero cuando
trato de ejecutar el siguiente comando:
COPY sales_order FROM e'C:\\192.dat' USING DELIMITERS ','
Me arroja el siguiente ERROR:
invalid byte sequence for encoding "UTF8": 0xf3272c32 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 sales_order, line 1
y la data que contiene la líea en referencia es:
línea #1 -> 2001,101,1996/mar/14 00:00,'r1','mañongó',299
Mi pregunta es por que me arroja un error for encoding "UTF8" y como puedo
solucionarlo...?
Gracias!
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-05-23 22:52:09 | Re: Consulta NLS |
Previous Message | Carlos Pineda | 2008-05-23 20:34:25 | Re: Error con el COPY |