Opened 14 years ago

Closed 14 years ago

#3076 closed defect (fixed)

Accents do not appear correctly in PHP-generated month names in French

Reported by: claude@… Owned by: xris
Priority: minor Milestone: unknown
Component: mythweb Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no


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).

Change History (1)

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [13089]) Use utf-8 for french translations. closes #3076

Note: See TracTickets for help on using tickets.