Hello -
I've come across an interesting character encoding error in 2.2.17 that only seems to affect certificate generation, specifically the name of a displayed grade item.
1.) Create a quiz with a name with an EM dash (—, or Alt+0151)
2.) Create a certificate that prints the grade of the quiz you created in step 1
3.) Generate the certificate
Result: The '—' displays as '?'
Expected: The '—' displays as '—'
I attached a proposed patch for this, which removes a call to the function utf8_decode that is used when generating the grade activity name. It seems to work now, but is this going to cause something else to go pear-shaped, or is this a legitimate fix?
Thanks,
Michael