cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Uyttenhove" <>
Subject RE: Character encoding problems with XSP/ESQL
Date Thu, 13 Jun 2002 22:51:47 GMT

> -----Original Message-----
> From: Vadim Gritsenko []
> Sent: donderdag 13 juni 2002 23:16
> To:
> Subject: RE: Character encoding problems with XSP/ESQL
> Andrew,
> I would follow Jan's suggestion to isolate issue. First, make sure that
> static XML with your target encoding and your set of funny characters
> works ok. Then move on to the XSP. After that, add SQL.
> Chances are that your database returns broken strings. See also recent
> Argyn's email about it: he had *one* 3-byte Chinese character in the
> database, but it was extracted as *three* characters, i.e. string.size()
> returned 3 instead of 1, clearly indicating that string is broken and
> have to be re-encoded.

I agree with Vadim.
But if XSP works just fine, and adding SQL seems to be the problem, it might
be interesting to check the PostgreSQL mailing list also.
I remember there are a lot of problems listed regarding character encoding,
maybe it's a postgreSQL problem, to be more specific, a JDBC-PostgreSQL
problem, since there's no problem using perl...


visit us @

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message