Community Forums

ATutor Bug Reports

Question Database can't dispaly Chinese right


You must be signed-in to post.

AuthorSubject
 
Page: 1
baohongz
Subject: Question Database can't dispaly Chinese rightQuote this post in your reply
Atutor Version 1.5.5

include/html/tests_questions.inc.php

line 85, 87
htmlentities($row['question']) should change to

htmlentities($row['question'],ENT_NOQUOTES,'UTF-8')

in order to support Chinese or other language.
Posted: 2007-11-28 00:49:58
IndieRect

Avatar for IndieRect
Subject: Re: Question Database can't dispaly Chinese rightQuote this post in your reply
This bug appears to have been fixed in the upcoming 1.6. You could download a nightly build and check it.

You can also try just replacing htmlentities() function with htmlspecialchars() without any additional parameters. The effect should be the same.
Posted: 2007-11-28 05:59:54
IndieRect

Avatar for IndieRect
Subject: Re: Question Database can't dispaly Chinese rightQuote this post in your reply
To bring some order to the two parallel threads, here's the one to continue: atutor.ca/view/3/12057/1.html .
Posted: 2007-11-30 09:20:27
 
Page: 1

You must be signed-in to post.

Related Articles