cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: Character encoding problems with XSP/ESQL
Date Thu, 13 Jun 2002 21:15:33 GMT
> From: Andrew Savory [] On Behalf Of Andrew
> Hi Jan,
> On Thu, 13 Jun 2002, Jan Uyttenhove wrote:
> > I helped Michael Mangeng to solve a similar problem a while ago.
> > similar..., it was a pure xsp problem there, no esql. I have no
> > with esql, but I'll add some things you can try, but I don't know it
is in
> > fact the same problem :-)
> Thanks for the list of fixes. Unfortunately, having followed your
> thread, I'd already worked through them all with no success :-(
> One other detail: when I don't set encoding, I get weird "�" instead
> the right characters, but when I do set encoding, I get a single ? in
> place of the missing characters.


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.


> Andrew.
> --
> Andrew Savory                                Email:
> Managing Director                              Tel:  +44 (0)870 741
> Luminas Internet Applications                  Fax:  +44 (0)700 598
> This is not an official statement or order.    Web:

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