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

glossary view are garbled in Japanese

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_14_STABLE

      Description

      When I register new terms written in Japanese, glossary view are garbled.

      I think this is because of the following code in `mod/glossary/view.php'.

      /// Setting the pivot for the current entry

      $pivot = $entry->pivot;

      if ( !$fullpivot )

      { $pivot = $pivot[0]; }

      This should be

      $pivot = substr ( $pivot, 0, 1 );

      Unfortunately, glossary module of the current version is useless in Japanese ;_;

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: