Hi Nazir,
sorry for asking but is it working on ur computer? since even after setting
the UTF-8 at the JVM command line, the arabic characters are being displayed
as jibrish :)
Thanks for your help
On 12/28/07, Nazir LAJDEL <[EMAIL PROTECTED]> wrote:
>
> Hi Omar,
> It seems good (in the image).But let's not jump to any conclusions before
> trying it from the JVM command line (Open command prompt).
>
> - Nazir
>
>
> ________________________________________
> De: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] De la part de omar bilani
> Envoyé: vendredi 28 décembre 2007 13:44
> À: Developer
> Objet: Re: [Mifos-developer] Arabic characters are messed up in MIFOS
>
> hi Nazir,
> i tried to add the following "-Dclient.encoding.override=UTF-8" in the
> tomcat JVM setting page.
> and yet things didnt work...
> is this the correct location ?
> waiting for ur reply.
> please check the attached image for more details about the changes that i
> added.
> thanks
>
>
>
> On 12/28/07, Nazir LAJDEL <[EMAIL PROTECTED]> wrote:
> Hi Omar,
>
> Now, try to set the encoding in the lowest level; the Virtual Machine;
> Specify -Dclient.encoding.override=UTF-8 for the JVM Arguments.
>
> It is not the only way of doing things, but it should work.
>
> - Nazir
>
>
>
>
> ________________________________________
> De: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] De la part de omar bilani
> Envoyé: vendredi 28 décembre 2007 11:51
> Ŕ: Developer
> Objet: Re: [Mifos-developer] Arabic characters are messed up in MIFOS
>
>
> Hello all,
> while searching for the character encoding problem, the following needs to
> be chaged:
> 1) support UTF-8 in the html pages, in order to do that u will need to add
> the following jsp code in the header of the page: mainLayout.jsp , the
> code to add is the following:
> <[EMAIL PROTECTED] pageEncoding="UTF-8" contentType="text/html;
> charset=UTF-8" %>
>
> 2) change the encoding of the request at the java part..
> this will be adding the following code:
> ServletConfig config = getServletConfig();
> String encoding =config.getInitParameter("PARAMETER_ENCODING");
> if (encoding != null) {
> request.setCharacterEncoding(encoding);
> }
>
> and u will have to add thePARAMETER_ENCODING in the web.xml file:
>
> <context-param>
> <param-name>PARAMETER_ENCODING</param-name>
> <param-value>UTF-8</param-value>
> </context-param>
>
> I did this and added the code in the functions doGet and doPost in the
> class: Dispatcher.java
> the problem is that mifos dont use these functions in the normal requests.
>
> Any idea where to change the characters encoding?
>
> thanks
>
>
>
> On 12/27/07, Sam Birney < [EMAIL PROTECTED]> wrote:
>
> Hi Omar,
>
> I don't have any idea about this particular feature. I can tell you that
> the current version, Mifos 1.0 is not fully internationalized. We are
> doing work now to complete basic internationalization (i18n) for the next
> release. Mifos is mostly unicode (UTF-8) compatible, but as you have found,
> there are still some spots where this is lacking. If you end up figuring out
> the cause of this problem it would be helpful to enter a bug in the issue
> tracker. Even better, if you are able to provide a patch that fixes it we
> would be happy to include it in Mifos 1.1.
>
> thanks,
> Sam
>
> On Dec 26, 2007 6:28 AM, omar bilani < [EMAIL PROTECTED]> wrote:
>
> Hi,
> i am trying at this stage to enter some arabic characters in the search
> text input "main page" and press on the search button
>
> the application is returning that no result where found for the search
> string: ؤؤ
> even though i entered two arabic characters.
> the encoding in the html page is UTF 8.
> i printed the values using an alert before sending them to struts and the
> output was the character that i entered.
> any idea why the characters are being changed?
> thanks.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/