cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson" <>
Subject Re: Unicode, woody, flow script
Date Wed, 25 Feb 2004 18:19:15 GMT
I do some test and found!
1.the data from database is ok for UTF-8 encoding
2.The html page woody gens also UTF-8.
3.after submit,the typed or pasted to field word changed to strange symbols.

So I think it's the problem about java bean about byte and string
you can write a function to convert it(How ? I forgot,searching now, may
someone can tell me).

Suggestion! Woody must have the method like the i18n example 'simple.xsp'
the enter of username,can assign the form-encoding attribute to UTF-8.

Best Regards


----- Original Message ----- 
From: <>
To: <>
Sent: Wednesday, February 25, 2004 11:57 PM
Subject: Unicode, woody, flow script

> I'm trying to solve problem with Unicode chars.
> User enters unicode characters into woody forms.
> Strings with unicode chars go into flow as Form class (Woody).
> Flow does:
> cocoon.request.setAttribute("my-form", form.getWidget());
> and
> cocoon.sendPage("my-page");
> my-page is XSP ServerPage (UTF-16), it use Java to extract values from
> But here, values taken from Form class (Woody), I mean unicode charters
> (national chars), are already broken.
> I think somewhere here unicode chars are flatten into normal 8-bit chars,
> and afterthat are treaten as unicode again. But I have no idea, how to
> solve this problem.
> Help needed! Thanks!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message