Hi Andreas,
that's it, thank you!
- But now with the drawback that characters like & are not transformed
in Character Entity References (&).
But I think, I can life with that. :-)
BTW: Would it not be nice if the filtering would be able to recognize
Entity or Decimal References and do *not* treat them?
Then it would be still possible to *display* "ሴ" by having in the
Bean the String "&#x1234".
Hartmut
[EMAIL PROTECTED] schrieb:
>
> Hi
>
> There is an attribut called "filter" in <bean:write>. The default is set to
> true. Set it to false and try again.
>
> Cheers
> Andy
>
> -----Ursprüngliche Nachricht-----
> Von: Hartmut Bernecker [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 20. Juni 2001 11:10
> An: [EMAIL PROTECTED]
> Betreff: Displaying unicode hexadecimal character references with Struts
>
> Hello,
>
> HTML 4.0 allows to display unicode characters by using Decimal
> (𞉀) or Hexadecimal (þ) Character References.
> Now, if a bean property contains some String with character references
> (e. g. new String("エラー");) then I expect a correct
> output when displaying that bean-properties with a JSP-page.
> But what happens? - The output to the browser is not
> "エラー" (which would be displayed correct), but
> &#12456;&#12521;&#12540; which is displayed as
> "エラー" - what is not nice!
>
> Why that behavior?
> How to switch off that mechanism?
>
> I appreciate any hint!
>
> Cheers
> Hartmut