> From: Andrew Savory [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew
Savory
> 
> 
> Hi Jan,
> 
> On Thu, 13 Jun 2002, Jan Uyttenhove wrote:
> 
> > I helped Michael Mangeng to solve a similar problem a while ago.
Well,
> > similar..., it was a pure xsp problem there, no esql. I have no
expercience
> > 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
previous
> thread, I'd already worked through them all with no success :-(
> 
> One other detail: when I don't set encoding, I get weird "�" instead
of
> the right characters, but when I do set encoding, I get a single ? in
> place of the missing characters.

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.

Vadim

> 
> 
> Andrew.
> 
> --
> Andrew Savory                                Email:
[EMAIL PROTECTED]
> Managing Director                              Tel:  +44 (0)870 741
6658
> Luminas Internet Applications                  Fax:  +44 (0)700 598
1135
> This is not an official statement or order.    Web:
www.luminas.co.uk


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to