From: | Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> |
---|---|
To: | Adrian Galindo <agalindo(at)liceaga(dot)facmed(dot)unam(dot)mx> |
Cc: | pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | Re: [Pgsql-ayuda] Problema Postgres, PHP acentos y tildes |
Date: | 2003-07-11 15:18:31 |
Message-ID: | 200307111218.31469.martin@bugs.unl.edu.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Vie 11 Jul 2003 09:15, Martin Marques wrote:
> On Jue 10 Jul 2003 21:23, Adrian Galindo wrote:
> > Martin Marques wrote:
> > >>Tengo el PG 7.3 y estoy igual, no puedo escribir acentos.
> > >
> > >Yo si.
> > >Como compilaste el PG? Usaste --enable-locale?
> > > --enable-multibyte=LATIN1? (no se si esta ultima opcion es
> > > correcta).
> >
> > Bajé el paquete con pgk-get de
> > http://www.ibiblio.org/pub/packages/solaris/
> >
> > Ya lo pude hacer con
> > createdb -E LATIN1 basededatos
>
> $ pg_config --configure
$ export
declare -x PGDATA="/usr/local/pgsql/data"
declare -x PGDATESTYLE="Postgres"
declare -x PGLIB="/usr/local/pgsql/lib"
(Aca tengo los importantes del usuario postgres).
Ademas, estan estos:
PGHOST=pgsql.example.com
PGPORT=7890
PGDATABASE=web-system
PGUSER=web-user
PGPASSWORD=secret
PGDATESTYLE=ISO
PGTZ=JST
PGCLIENTENCODING=EUC-JP
Fijate PGCLIENTENCODING.
Ademas, en php tenes la funcion pg_client_encoding(). :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2003-07-11 16:34:46 | Re: [Pgsql-ayuda] Interbase |
Previous Message | K | 2003-07-11 14:38:31 | [Pgsql-ayuda] Urgente!! |