[ 
http://mifosforge.jira.com/browse/MIFOS-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=66015#comment-66015
 ] 

Adam Monsen commented on MIFOS-4789:
------------------------------------

That code doesn't work for me. ftl pages still work as before, but now the 
workaround no longer works for jsp pages.

Michael wrote on IRC:
{quote}
Oh something important - strictly speaking I haven't verified it fully - I 
don't know how to reproduce the Chinese characters from 
http://ci.mifos.org:8118/mifos/custSearchAction.do?method=getHomePage locally - 
I am shouting I DID IT simply because I'm seeing 
Content-Type:text/html;charset=UTF-8 in Chrome - and assume that that's solving 
it - which seems reasonable? Somebody will still have to really verify it of 
course. Just thought I would mention that... ;-)
{quote}

It's easy, just set the following in 
{{MIFOS_CONF/applicationConfiguration.custom.properties}} (or 
{{MIFOS_CONF/applicationConfiguration.acceptance.properties}} if you are 
running in acceptance mode):

{noformat}
Localization.LanguageCode=ZH
Localization.CountryCode=CN
{noformat}

then restart Mifos. We no longer have .po files, so the converting to/from 
.po/.properties nonsense is gone. All localized Java properties bundles are 
used as-is.

> can't see Chinese: app server sends non-UTF-8 charset in response headers for 
> old ui (Struts/JSP)
> -------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-4789
>                 URL: http://mifosforge.jira.com/browse/MIFOS-4789
>             Project: mifos
>          Issue Type: Bug
>          Components: Build and Testing, Internationalization, Localization
>    Affects Versions: Release G
>         Environment: Chinese head/master test server running 
> head-master-archive build #73. Multiple browsers/operating systems.
>            Reporter: Adam Monsen
>            Assignee: Sumit Shah
>            Priority: Critical
>              Labels: chinesetranslation, volunteer
>             Fix For: Release G - Iteration 2, Release G
>
>         Attachments: 
> 0001-FIXED-MIFOS-4789-can-t-see-Chinese-app-server-sends-.patch
>
>
> Jetty is incorrectly setting a non-UTF-8 character set for Struts/JSP pages. 
> I'm using Google Chrome's developer tools to view the response headers, but 
> other software (ie: firefox plugins) can also be used to view response 
> headers.
> h1. Expected
> {noformat}Content-Type:text/html;charset=UTF-8{noformat}
> SpringMVC/ftl pages work. For example: http://ci.mifos.org:8118/mifos/
> h1. Actual
> {noformat}Content-Type:text/html;charset=ISO-8859-1{noformat}
> For example: 
> http://ci.mifos.org:8118/mifos/custSearchAction.do?method=getHomePage

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to