Re: possible character accent bug on pgjdbc73 - Mailing list pgsql-jdbc

From shk@linuxbr.com.br
Subject Re: possible character accent bug on pgjdbc73
Date
Msg-id 200302051642.h15Gg9401367@www3.mailbr.com.br
Whole thread Raw
In response to possible character accent bug on pgjdbc73  (shk@linuxbr.com.br)
List pgsql-jdbc

----- Original Message -----
From: "Daniel Serodio" <daniel@checkforte.com.br>
To: <shk@linuxbr.com.br>
Cc: "PostgreSQL JDBC List" <pgsql-jdbc@postgresql.org>
Sent: Wednesday, February 05, 2003 2:00 PM
Subject: Re: [JDBC] possible character accent bug on pgjdbc73


You should translate '�' to 'ó', '�' is not valid HTML, despite
Internet Exploder rendering it ok.

[]'s
Daniel Serodio

-----------------

That is not really the error, because the wrong chars come
before the presentation (look the html code i pasted)

And pgsql should work correctly with accent-chars, isn't?

-----------------
On Sun, 2003-01-05 at 10:51, shk@linuxbr.com.br wrote:
> I think there is a bug on postgresql 7.3 jdbc
>
> I have a intranet that runs on postgresql 7.1 and (resin as container
> and red hat 7.2 linux) working well
> So, i tried to upgrade to postgresql 7.3.1
> The export done OK, but when i started to test the pages, i got some
> weired results.
>
> There is a example:
> on psql:
> intraprime=# select nome from setores where codigo=5;
>    nome
> ----------
>  Cust�dia
> (1 row)
>
>
> but on a jsp page, i got that result:
> <option value='5'>Cust�dia</option>
>
> It seems that every accent character is changed to '�'.
> I've tryed all versions os pgjdbc73 and the development drivers. I
> tryed too the pgsqljdbc72 driver, but no sucess.
>
> I hope some reply! :)
> Thanks very much!
>
>
> Icon - Internet gr�tis, e-mail, MP3 player, v�deo, r�dio e muito mais.
> Pegue j� o seu em  http://www.ibest.com.br/icon/mbr1.html. � gr�tis!
>
> ---------------------------(end of broadcast)-------------------------
--
> TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
--
Daniel Serodio <daniel@checkforte.com.br>
CheckForte


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Icon - Internet gr�tis, e-mail, MP3 player, v�deo, r�dio e muito mais.
Pegue j� o seu em  http://www.ibest.com.br/icon/mbr1.html. � gr�tis!

pgsql-jdbc by date:

Previous
From: "Chris Smith"
Date:
Subject: Bug in setUnicodeStream
Next
From: Daniel Serodio
Date:
Subject: Re: possible character accent bug on pgjdbc73