| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 |
Serendipity MySQL 4.1 tweaks
well we just discovered yesterday that our blogs aren’t working for chinese characters! this is a big problem… and it
was due to our system setups… i spent today almost 7 hours to find out what was the problem and to fix it…
finally, just insert the following 2 lines in include/db/mysql.inc.php
mysql_query(’SET NAMES gb2312;’, $serendipity[’dbConn’]);
mysql_query(’SET collation_connection = \’gb2312_chinese_ci\’;', $serendipity[’dbConn’]);
要发表评论,请先登录

最新评论