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

UTF-8 non breaking spaces in language packs cause display problems

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6
    • 1.8.1, 1.9
    • General, Language
    • None
    • MOODLE_16_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      If the language pack contains UTF-8 encoded non breaking spaces, some strings display wrong.

      To reproduce, follow these steps:
      1) Switch to the french language.
      2) Log in and see "Connecté sous le nom « Your Name Here »" in the top right of the window (correct behaviour).
      3) Log out
      4) In the file moodle.php of the french language pack, replace the   in the string $string['loggedinas'] with a UTF8 encoded non breaking space.
      5) Log in and see the "Connecté sous le nom «" (nothing more) in the top right of the window (bug).

      The correction of this bug could be very handful, as it will allow a better lisibility of the lang pack and the consistent use of non-breaking spaces in all strings (i.e also those that are sent by standard mail, which doesn't support HTML entities).

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              mina Nicolas Martignoni
              Nicolas Martignoni Nicolas Martignoni
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jun/07