Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 21 February 2006, 02:23 AM:

Just for reference, it's item number 34 in http://docs.moodle.org/en/UTF-8_scripts

Show
Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 21 February 2006, 02:23 AM: Just for reference, it's item number 34 in http://docs.moodle.org/en/UTF-8_scripts
Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, thanks for the report!

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks for the report!

People

Dates

  • Created:
    Updated:
    Resolved: