I'm using Moodle 2.2.3 with the external database authentication plugin and the external database enrollment plugin.
It all seems to work fine so far, but one thing. After logging in with a user obtained from the external database, when I click the username on the top right of the screen to access the user account, I get the following error:
Codification error detected, must be fixed by a programmer: Invalid string identifier. Most probably some illegal character is part of the string identifier. Please fix your get_string() call and string definition
If I log in with a user that doesn't come from the external database (i.e. the admin user) I don't get any errors.
I believe I've set the codification option (utf-8) correctly in both plugins when configuring them. Besides, I'm looking in the mdl_user table in Moodle's database and I don't see any weird characters in any of the fields. One thing that might be causeing this is that the external database encoding is UTF-8, but the fields of the users table in that database that store any characters have the latin1_swedish_ci collation. The problem is that I already tried setting the enconding in the plugins settings as latin1_swedish_ci, but then the authentication doesn't work (it works if I leave it to UTF-8, like I have it now).
Any ideas on how I can fix this issue?