[mythtv-commits] Ticket #3076: Accents do not appear correctly in PHP-generated month names in French
MythTV
mythtv at cvs.mythtv.org
Sun Feb 11 21:58:15 UTC 2007
#3076: Accents do not appear correctly in PHP-generated month names in French
-----------------------------------------+----------------------------------
Reporter: claude at boucher-frappier.net | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: 0.20
Severity: medium |
-----------------------------------------+----------------------------------
Month names generated through 'strftime' function in various parts of
Mythweb do not appear correctly when the month name contains an accented
character. For instance the month of February appears as "f¸vrier"
instead of "février". The bug appears in all dates displayed in the
web application.
Possible solution:
Edit '''line 44''' in the script /includes/translate.php, which currently
reads like this:
{{{
$Languages['French'] = array('Français', 'fr_FR',
'fr_FR');
}}}
The string '''.UTF8''' should be added to the second element of the array,
like this:
{{{
$Languages['French'] = array('Français', 'fr_FR.UTF8',
'fr_FR');
}}}
The fix works on my own copy of mythweb (FC6 with the latest binaries from
ATrpms).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3076>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list