cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: How can i display arabic letters ?
Date Mon, 23 Apr 2001 17:04:09 GMT
"M. Amin" wrote:
> 
> 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.

The small squares issue seems like the font couldn't handle the unicode characters
sent to it.  Make sure your browser's font can render arabic characters.

---------------------------------------------------------------------
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