RE: Encoding PHP

From: "Carlos Chavez Herrera" <cechav(at)hotmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: RE: Encoding PHP
Date: 2005-06-05 00:38:08
Message-ID: BAY14-F23DB19FD683C245647B087D5F80@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

<html><div style='background-color:'><P>Derrepente el tamaño de tu campo es pequeño o no esta soportanto el acento en Admnistraci"ó"n, en ese caso tienes que crear tu base de datos con codificacion latin1&nbsp;o latin 9, nos vemos espero que te ayude ;)<BR><BR></P>
<DIV>
<H6 align=right><FONT size=2>&nbsp;Carlos Chavez&nbsp; <IMG height=12 src="http://graphics.hotmail.com/emvamp.gif" width=12>&nbsp;&nbsp;&nbsp;&nbsp; </FONT></H6></DIV><BR><BR><BR>&gt;From: Damián Culotta &lt;dculotta(at)fibertel(dot)com(dot)ar&gt;<BR>&gt;To: "Ayuda PostgreSql" &lt;pgsql-es-ayuda(at)postgresql(dot)org&gt;<BR>&gt;Subject: [pgsql-es-ayuda] Encoding PHP<BR>&gt;Date: Sat, 4 Jun 2005 13:56:42 -0300<BR>&gt;<BR>&gt;Buenas tardes lista.<BR>&gt;He dejado de jugar con PostgreSql y Asp, con quien mediante ODBC no tenía problemas.<BR>&gt;Mi inconveniente se da ahora que pasé a PHP, donde tengo problemas de codificación.<BR>&gt;<BR>&gt;Si no especifico nada, no me muestra los acentos correctamente, así que probé (con PHP) especificando:<BR>&gt;<BR>&gt;header("Content-type: text/html; charset=utf-8");<BR>&gt;<BR>&gt;Y con esto todo bien, se muestra la información correctamente.<BR>&gt;El problema es que
al hacer:<BR>&gt;<BR>&gt;pg_query("insert into grupos (id,grupo) values ('10','Administración')");<BR>&gt;<BR>&gt;Me da el siguiente error:<BR>&gt;<BR>&gt;Warning: pg_query(): Query failed: ERROR: Unicode characters greater than or equal to 0x10000 are not supported<BR>&gt;<BR>&gt;<BR>&gt;Todo esto para llegar a la consulta:<BR>&gt;<BR>&gt;¿Cuál es la forma de manejar esta situación?. ¿Se puede desde la conexión a PostgreSql indicar el encoding?.<BR>&gt;<BR>&gt;Muchas gracias.<BR>&gt;<BR>&gt;Damián<BR></div></html>

Attachment Content-Type Size
unknown_filename text/html 1.7 KB

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Damián Culotta 2005-06-05 00:38:12 Re: Encoding PHP
Previous Message Damián Culotta 2005-06-04 16:56:42 Encoding PHP