Database Char Code for Thai

จาก Wiki2

ข้ามไปที่: นำทาง, สืบค้น

When I am entering special chars (chinese, cyrillic, greek) into my survey, every char is shown as a question mark?

This happens if your database itself is not created to use an UTF-8 charset. This can happen when you have to create the database using an administration panel. You can fix this by executing the following SQL command on your database (using for example phpMyAdmin).


ALTER DATABASE `<your_database_name>` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;


Replace <your_database_name> with the name of your database. You need to do this BEFORE installing LimeSurvey.


Ref: http://www.docs.limesurvey.org/tiki-index.php?page=Installation+FAQ

เครื่องมือส่วนตัว