From: | "Patrik Lundgren" <patrik(at)mensa(dot)se> |
---|---|
To: | "'Mario Rodriguez Villanea'" <mrodriguez(at)AVANTICATEC(dot)NET>, <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: spanish characters in postgres |
Date: | 2003-03-22 08:36:42 |
Message-ID: | 000e01c2f04e$2a4f9890$0300a8c0@energy |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Most likely because you haven't set the charSet varaible in the
connection url. Americans always think english is the only language
spoken (written) and therefore the standard charSet doesn't permit any
special characters. Change your url to end with ?charSet=LATIN1. Example
: jdbc:postgresql://192.168.0.1/test?charSet=LATIN1
Regards,
Patrik Lundgren
-----Ursprungligt meddelande-----
Från: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] För Mario Rodriguez Villanea
Skickat: Monday, March 17, 2003 3:11 PM
Till: pgsql-jdbc(at)postgresql(dot)org
Ämne: [JDBC] spanish characters in postgres
Hi people, does anyone have idea why my special characters (á,é...,ú,ñ)
are returned by the jdbc driver as a "?" instead of the correct
character ???? When I send a normal query using psql the results looks
great
thanks
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
From | Date | Subject | |
---|---|---|---|
Next Message | Marco Trevisan | 2003-03-22 11:10:02 | Re: JDBC driver, PGSQL 7.3.2 and accents characters |
Previous Message | Tony Grant | 2003-03-22 07:55:51 | Re: JDBC driver, PGSQL 7.3.2 and accents characters |