Thread: Problem
I problem, in my application storage word with accent example "descripci�n" and view "descripci?n". I use servlet and connection jdbc.
Anytimes in bd have word with accent "correcci�n" but read servlet view "correcci?n"
Use linux 7.3, and postgres this version.
After funtion ok in linux 7.1 and this version, i not understand the problem.
Is linux ? is postgres ? is java-servlets?
Thanks..
sorry for my english
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Are you using the locale parameter in the JDBC URL to your database (charSet)? For example, to Portugal [PT] jdbc:postgresql://localhost:5432/db?charSet=PT regards, Pedro Salazar -----Original Message----- From: Vinni [mailto:vinni_@yahoo.com] Sent: sexta-feira, 22 de Novembro de 2002 2:03 To: pgsql-jdbc@postgresql.org Subject: [JDBC] Problem I problem, in my application storage word with accent example "descripción" and view "descripci?n". I use servlet and connection jdbc. Anytimes in bd have word with accent "corrección" but read servlet view "correcci?n" Use linux 7.3, and postgres this version. After funtion ok in linux 7.1 and this version, i not understand the problem. Is linux ? is postgres ? is java-servlets? Thanks.. sorry for my english Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Pedro, charSet seems to be a no-op if te backend is 7.3(beta or whatever). I don't know what backend version he is using though. But the system current locale may define what is the JVM platform default character encoding. Maybe this has changed between his Linux 7.1 and the 7.3 installations. Regards, Fernando Pedro Salazar wrote: > Are you using the locale parameter in the JDBC URL to your database > (charSet)? > > For example, to Portugal [PT] > jdbc:postgresql://localhost:5432/db?charSet=PT > > regards, > Pedro Salazar > > -----Original Message----- > From: Vinni [mailto:vinni_@yahoo.com] > Sent: sexta-feira, 22 de Novembro de 2002 2:03 > To: pgsql-jdbc@postgresql.org > Subject: [JDBC] Problem > > > I problem, in my application storage word with accent example "descripción" > and view "descripci?n". I use servlet and connection jdbc. > Anytimes in bd have word with accent "corrección" but read servlet view > "correcci?n" > Use linux 7.3, and postgres this version. > After funtion ok in linux 7.1 and this version, i not understand the > problem. > Is linux ? is postgres ? is java-servlets? > Thanks.. > sorry for my english > -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9