Opened 14 years ago

Closed 14 years ago

#5192 closed defect (duplicate)

Localized currency formatting introduces corrupted characters on Konqueror

Reported by: guest Owned by: Adam Peller
Priority: high Milestone:
Component: Internationalization Version: 1.0
Keywords: i18n currency Cc:
Blocked By: Blocking:


Using Konqueror 3.5.7 on Gentoo with Dojo trunk as of November 18th, 2007, I get corrupted characters when using dojo.currency.format.

Test case (based on The Book of Dojo i18n section):

<script type="text/javascript" src="file:///path/to/source/dojo/dojo/dojo.js"
    djConfig="locale: 'fr'"></script>
<title>i18n test</title>
<h1>i18n test</h1>
<div id="replaceme"></div>
<script type="text/javascript">
var msg = "Number of processed file number before ${}:"   
         + " [${0:dojo.currency.format}]";
var now = new Date();
dojo.byId('replaceme').innerHTML = dojo.string.substitute(msg, [-123456.72, now]);

Output in Konqueror:

Number of processed file number before 19/11/07 10:49: [-123Â 456,72 Â]

Output in Firefox:

Number of processed file number before 19/11/07 10:48: [-123 456,72 ]

Change History (1)

comment:1 Changed 14 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

This appears to be a dup of #1010. Please see that ticket for workaround information as well as a reference to the KDE bugbase.

I'm not clear on the release cycle, but it sounded like this was fixed in 3.5.7? Perhaps it just missed that release? You may want to follow up in the KDE bug base.

Note: See TracTickets for help on using tickets.