Bug 1270829

Summary: Missing character encoding of internal resource bundle files in dashbuilder
Product: [Retired] JBoss BPMS Platform 6 Reporter: Martin Weiler <mweiler>
Component: BAMAssignee: David Gutierrez <dgutierr>
Status: CLOSED DUPLICATE QA Contact: Jan Hrcek <jhrcek>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, romartin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 17:50:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Weiler 2015-10-12 13:19:13 UTC
Description of problem:
When switching the language to Spanish or German, special characters in the menu are not displayed properly

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start BPMS 6.1 and navigate to http://localhost:8080/dashbuilder/
2. Log in and switch to Spanish language
3. Some characters (eg. in 'Página:' at the middle header of the page) are displayed garbled. The same applies when hovering with the mouse over the edit icons)

Actual results:
Special characters are displayed incorrectly

Expected results:
All characters are displayed correctly

Additional info:
The *.properties files are not IS0-8859-1 encoded as they should be:
http://docs.oracle.com/javase/7/docs/api/java/util/PropertyResourceBundle.html

Eg. the entries in messages_en.properties should be ISO-8859-1 encoded like this:
> ui.sections.deleteCurrent=Borrar p\u00e1gina actual

instead of:
< ui.sections.deleteCurrent=Borrar página actual

See also: http://docs.oracle.com/javase/7/docs/technotes/tools/windows/native2ascii.html

Comment 1 Roger Martínez 2015-10-13 17:50:21 UTC
Hello,

This issue has been already identified and fixed on the latest version. We used native2ascii plugin to encode all the i18n properties files at package time -> 

https://github.com/droolsjbpm/dashboard-builder/commit/72e2224069d52214a1c200858aa7627b25906bd4

Marked as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1200333

Thanks

*** This bug has been marked as a duplicate of bug 1200333 ***