Hi,

First of all, I'm not very experienced with encoding, so it's could be a very 
newbie problem.
I have a website-builder, which generates a complete struts web-app out of an 
xml file. 
However I now have a customer who wants to present his data in russian and 
german. 
The data for presentation is entered and stored via Dialogs produced with html 
taglib, like:
<html:text property="name"/>

then, it's stored on the disk as a serializable object. Then it's presented in 
another html-page via bean:write. If I give both the page and the meta tags 
charset UTF-8, I get only complete crap like ÃÂÃÆÃÂ in the presentation 
page.

If I use iso-8859-1, bean:write produces things like: 
&#1074;&#1072;&#1074;&#1072;&#1074;&#1072;, the html-sourcecode is 
&amp;#1074;&amp;#1072;&amp;#1074;&amp;#1072;&amp;#1074;&amp;#1072; (the source 
string was something like qwqwqwqw in russian). 

If I add filter="false" to the bean:write call, everything works fine (with 
iso-8859-1). 
Unfortunately there is no filter option in html:text tag, so as soon as I 
present the data in edit-form for editing
aain, I see the &#1074; in the input form.

So I assume, I'm making an idiotical mistake, but I don't have much experience 
with editing in russian, so I'd like to ask, if anyone can point me to the 
right direction. 

Thanx in advance

Leon

 

 

 




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

Reply via email to