Re: [appfuse-user] I18N Problem

2008-08-25 Thread Youssef Mohammed
Marc; Thanks ! I have tried it on the header jsp and it worked just fine ! The link you have provided is amazing .. it went directly to my Delicious ! On Mon, Aug 25, 2008 at 1:39 PM, Marc Siramy <[EMAIL PROTECTED]> wrote: > You need the following line at the top of your jsps: > <%@ page languag

Re: [appfuse-user] I18N Problem

2008-08-25 Thread Marc Siramy
You need the following line at the top of your jsps: <%@ page language="java" pageEncoding="utf-8" contentType="text/html;charset=utf-8" %> . .. and .. you can see here if you didn't miss a step (it helped mysel recently): http://blogs.warwick.ac.uk/kieranshaw/entry/utf-8_internationalisation_with

Re: [appfuse-user] I18N Problem

2008-08-25 Thread alibehzadian
Dear Youssef, When I put my text in ApplicationResource bundle with a key, I have no problem. This problem arises when I put i18n texts inside JSP. So problem is somewhere else. Ali Behzadian Nejad. -- View this message in context: http://www.nabble.com/I18N-Problem-tp19132153s2369p19140793.ht

Re: [appfuse-user] I18N Problem

2008-08-25 Thread Youssef Mohammed
It could be so , some suggestions : - check the generated WAR file itself to make sure that your JSPs are indeed utf-8 encoded and not garbaged. - change the default locale in your system, if it works then it has to be in some library that just takes the default locale. The solution wo

Re: [appfuse-user] I18N Problem

2008-08-25 Thread alibehzadian
In meta.jsp (that is included in every JSP) I have the following line: and my IDE is set to use UTF-8 as its encoding. Even I set encoding manually to UTF-8 (with some tools) and then rebuild the project and still have the problem. I guess the problem is related to order of filters or is re

Re: [appfuse-user] I18N Problem

2008-08-24 Thread Martin Homik
Look into your IDEs settings whether it saves the file in UTF. I had similar problems on Windows XP with Eclipse. By default, it took a different encoding. Martin alibehzadian wrote: > > Hi, > > I used Persian text right inside JSP. I saved JSP file with UTF-8 encoding > and then I build the

Re: [appfuse-user] I18N Problem

2008-08-24 Thread Youssef Mohammed
On Sun, Aug 24, 2008 at 7:41 PM, alibehzadian <[EMAIL PROTECTED]>wrote: > > Hi, > > I used Persian text right inside JSP. I saved JSP file with UTF-8 encoding You have to make sure also that the pages that are rendered to the client (browser) is identified as UTF-8 encoded (not sure if this is th

Re: [appfuse-user] I18N Problem

2008-08-24 Thread alibehzadian
Dear Matt, I did what you said, but the problem still exists. I also disabled the localeFilter but nothing changed. Any idea? Ali Behzadian Nejad. -- View this message in context: http://www.nabble.com/I18N-Problem-tp19132153s2369p19138567.html Sent from the AppFuse - User mailing list archiv

Re: [appfuse-user] I18N Problem

2008-08-24 Thread Matt Raible
You might try commenting out the filter-mapping for the gzipFilter in web.xml - it's possible this is causing the problem. Matt On Sun, Aug 24, 2008 at 10:41 AM, alibehzadian <[EMAIL PROTECTED]> wrote: > > Hi, > > I used Persian text right inside JSP. I saved JSP file with UTF-8 encoding > and th

[appfuse-user] I18N Problem

2008-08-24 Thread alibehzadian
Hi, I used Persian text right inside JSP. I saved JSP file with UTF-8 encoding and then I build the project. After visiting the JSP, all texts garble. I guess the problem is related to sitemesh decorator but I have no idea how to solve this problem. Any idea? Ali Behzadian Nejad. -- View this