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

Add one new setting to specify external auth encoding...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.8
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      It seems that some external auth methods (ldap and db at least), assume that data is coming in utf-8 and, under 1.5.x, it's converted always to iso-8859-1, via utf8_decode().

      I think it would be great to add a new setting to each authentication method to be able to specify the encoding of the data retrieved from the external system and then convert it to:

      iso-8859-1 if we aren't running under unicode mode.

      utf-8 if we are running under unicode

      Only for 1.6 and up, of course.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07