Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76537

Encoding problem in month names on Windows server

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-76537_401
    • Hide

      In a perfect world

      1. Ideally, run tests under both linux and windows. Although they have been already run (see the results some comments below).

      Behat tests

      1. Ensure that your config.php file has the following, so the test is executed, not skipped:

        $CFG->skiplangupgrade = false;
        define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
        

      2. Init behat.
      3. Run the 'Verify that the day and month names are displayed using UTF-8' feature (using the --name option).
      4. Verify that it ends with FOUR scenarios passed (not skipped).
      Show
      In a perfect world Ideally, run tests under both linux and windows. Although they have been already run (see the results some comments below ). Behat tests Ensure that your config.php file has the following, so the test is executed, not skipped: $CFG->skiplangupgrade = false; define('TOOL_LANGIMPORT_REMOTE_TESTS', true); Init behat. Run the 'Verify that the day and month names are displayed using UTF-8' feature (using the --name option). Verify that it ends with FOUR scenarios passed (not skipped).

    Description

      Steps to reproduce:

      1. Install Moodle 4.1 on a Windows machine (e.g. package available here https://download.moodle.org/windows/)
      2. Install the french lang pack
      3. Set the preferred language of a user as French
      4. Login as this user
      5. Got to the dashboard
      6. Observe that month names with diacriticals (e.g "D├ęcembre") are garbled.

      Expected behaviour: months names with diacriticals should display correctly.

      See https://moodle.org/mod/forum/discuss.php?d=441070 for discussion.

      Maybe a regression introduced by MDL-76470.

      Attachments

        1. About User_en.PNG
          14 kB
          Dmitry
        2. About User_ru.PNG
          16 kB
          Dmitry
        3. About User_uz.PNG
          15 kB
          Dmitry
        4. Calendar_en.PNG
          11 kB
          Dmitry
        5. Calendar_ru.PNG
          11 kB
          Dmitry
        6. Calendar_uz.PNG
          10 kB
          Dmitry
        7. french_calendar.png
          93 kB
          Eloy Lafuente (stronk7)
        8. Notify_en.PNG
          19 kB
          Dmitry
        9. Notify_ru.PNG
          15 kB
          Dmitry
        10. Notify_uz.PNG
          20 kB
          Dmitry
        11. russian_calendar.png
          89 kB
          Eloy Lafuente (stronk7)

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              mina Nicolas Martignoni
              Paul Holden Paul Holden
              Jun Pataleta Jun Pataleta
              Jun Pataleta Jun Pataleta
              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 27 minutes
                  5h 27m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.