Problem eith i18n:strus,jsp,tiles,utf-8
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   xxxx_xxxxian
Posted On:   Monday, July 19, 2004 06:30 AM

Hi everybody! I have a problem with i18n in my project(for persian/farsi language l10n). I get "?" marks instead of UTF-8 characters in browser. APIs and tools which I use are:jsp,tiles,struts ,struts message resourses,native2ascii,UTF-8 and also I use windows XP. below are some of my code lines: at the top of my jsp pages: <%@ page contentType="text/html ; charset=UTF-8" %> and somewhere in my jsp file(for example logon.jsp) I have the code line: in my Struts config.xml file: parameter="com.wirelesssoft.wops.opc.struts.i18n.messages_fa_ir" null="false"/>    More>>

Hi everybody!
I have a problem with i18n in my project(for persian/farsi language l10n).
I get "?" marks instead of UTF-8 characters in browser.
APIs and tools which I use are:jsp,tiles,struts
,struts message resourses,native2ascii,UTF-8 and also I use windows XP.

below are some of my code lines:
at the top of my jsp pages:

			
<%@ page contentType="text/html ; charset=UTF-8" %>

and somewhere in my jsp file(for example logon.jsp) I have the code line:
			




in my Struts config.xml file:
			


parameter="com.wirelesssoft.wops.opc.struts.i18n.messages_fa_ir" null="false"/>



I use many layouts from tiles(tabs,centerlayout and etc.).below is
some of my tiles-defs.xml code lines:
			

























I have the related property file for messages_fa_ir resource bundle converted to UTF-8
using native2ascii tool with the following command:
native2ascii -encoding UTF-8 ...


is the problem from resource bundles(they don't work with unicodes!!?)? or
the problem is some where else?
if you know any other practical solution for Persian/farsi
l10n(for example using native char encodings)tell me?

plzzzzzzzz help me!
thanks in advance.    <<Less
About | Sitemap | Contact