Messaging: Bug and fix in 1.7.1 (probably also older versions) for displaying Non-ASCII chars

Messaging: Bug and fix in 1.7.1 (probably also older versions) for displaying Non-ASCII chars

by Robert Allerstorfer -
Number of replies: 1
Hi,

since the thread Problems with 1.6 and special chars may be thought to be related only to Moodle 1.6 and not 1.7, and it has been believed that the bug MDL-6128 has been fixed, I am starting this new thread to get attention that the bug has in fact not been fixed and still exists in 1.7.1.

I have updated the bug tracker entry above with the fix: it's in message/refresh.php (which was still version 1.7 from 2006-01-05 coming with Moodle 1.7.1):

header('Content-Type: text/html');
has to be changed to
header('Content-Type: text/html; charset=' . $encoding);

best,
rob.
Average of ratings: -
In reply to Robert Allerstorfer

Re: Messaging: Bug and fix in 1.7.1 (probably also older versions) for displaying Non-ASCII chars

by Robert Allerstorfer -
Thanks Petr Škoda for committing the fix into MOODLE_17_STABLE as well as MOODLE_16_STABLE and HEAD. Thus, current Moodle 1.7.1+ packages already include the fixed version.