Strange Characters on Mifos 2.6.0 for Portuguese (PT) Localization

Description

I have downloaded available at Mifos Site for build 2.6.0 and tried to switch the language to portuguese and the special characters(accents) appears in the wrong encoding , not UTF-8 and is not possible to visualize this special characters in the browser.

Environment

Windows 7

Activity

Show:
Natu Lauchande
January 4, 2013, 3:51 PM

I investigated a bit further the problem with the code. I think it as to do with a change in enconding of the translations on this last version there are some properties files that are UTF-8 but other seem to be ANSI files i had to play a guess game changing the encondings and rebuilded the code and got some of the pages displaying correctly. Still the root cause of the problem should be found.

Stanley Kwok
January 7, 2013, 4:20 AM

I've tracked down the problem was introduced by a change in to allow the project to be built on Java7. Commit 92b18dbaaa4289a88c0e95bc1211e982b997a1aa updated the version of native2ascii-maven-plugin from 1.0-alpha-1 to 1.0-beta-1. To fix the encoding issue we could either rollback the said commit if we need to get a release out right away or change application/pom.xml line 665 from "<src>" to "<workDir>". I haven't dug deep into changes between alpha and beta versions but I suspect the config option "src" has been renamed to "workDir". Because our pom.xml didn't have a "workDir", the default ${project.build.outputDirectory} was used.

For more info about native2ascii plugin and available config options see http://mojo.codehaus.org/native2ascii-maven-plugin/native2ascii-mojo.html.

Wojciech Szarmacher
January 9, 2013, 8:45 AM
Edited

Reverting commit ee6d22b137cb3b0a43b78d81ce6e7719b7484dc6 fixed this issue.

Natalia Szpręga
January 11, 2013, 8:55 AM
Edited

Bug has been fixed properly.

Build Date: Mon Jan 07 08:04:53 PST 2013
Build Number: hudson-head-master-archive-1249

Assignee

Wojciech Szarmacher

Reporter

Natu Lauchande

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure