Opened 13 years ago
Closed 13 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: |
Description
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):
<html> <head> <script type="text/javascript" src="file:///path/to/source/dojo/dojo/dojo.js" djConfig="locale: 'fr'"></script> <title>i18n test</title> </head> <body> <h1>i18n test</h1> <div id="replaceme"></div> <script type="text/javascript"> dojo.require('dojo.string'); dojo.require('dojo.currency'); dojo.require('dojo.date.locale'); var msg = "Number of processed file number before ${1:dojo.date.locale.format}:" + " [${0:dojo.currency.format}]"; var now = new Date(); dojo.byId('replaceme').innerHTML = dojo.string.substitute(msg, [-123456.72, now]); </script> </body> </html>
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 ]
Note: See
TracTickets for help on using
tickets.
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.