cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M. Amin <a...@imkenberg.net>
Subject How can i display arabic letters ?
Date Mon, 23 Apr 2001 16:28:30 GMT
Dear all,
 i'm using cocoon+tomcat, i followed the discussion regarding multiligual
support in cocoon and i configured cocoon.properties as specified for the xsp
engine and html formatter as follows :

processor.xsp.encoding = UTF-8
formatter.text/html.encoding = UTF-8
and in each xml file i set the encoding attribute to "UTF-8".

and the result is that, all the previous settings has no effect on the encoding
within xsp page. So, i forced the response encoding type for each xml file to
UTF-8, in which case the encoding is changed to UTF-8 but my arabic letters
appears as "???????". Finally, i tried to create a String object using the
unicode characters as follows : 

String arabic = new String("\u01B9"+"\u06B6"+"\u06BE");

but this arabic letters appears as "small squares" .

Sure, there's some thing missed, i hope i can find a help from others solved
this problem.

Regards,
 M. Amin

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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message