Carlos Mendez escribió:
> <?
> function sql_registro()
> {
> include('conexion_db.php');
> $query = "SET client_encoding = 'UTF8'";
> $datos = $conn1->Execute("$query");`
> y mas abajo otras consultas
> }
Bueno, just aquí está el problema. No debes decir client_encoding=utf8,
sino client_encoding=latin1
> Query failed: ERROR: invalid byte sequence for encoding "UTF8": 0xd1d1
> 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".
Dime una cosa, cuando te aparece este error ¿cuál es el INSERT que estás
enviando, exactamente?
--
Alvaro Herrera Valdivia, Chile Geotag: -39,815 -73,257
"No es bueno caminar con un hombre muerto"
--
TIP 4: No hagas 'kill -9' a postmaster