Categories: ITMyWebsite

wordpress中文问题

http://gqshen.com/archive/193

1. Run SQL query

show variables like ‘%character%’;

to check the character sets of the database. If the character_set_database is latin1, change it to utf8 by

alter database mydb character set utf8;

where mydb is the name of the database.
2. Edit wp-config.php, change the line

define(‘DB_CHARSET’, ‘utf8’);

to

define(‘DB_CHARSET’, ”);

Tintin

Life is On the Road, and is also On the Keyboard.

Share
Published by
Tintin

Recent Posts

添加了SSL证书

从freessl.org获取了…

2 年 ago

预售丁丁帽

预售丁丁帽,8月初发货。 材质…

10 年 ago

两名骑友完成羌塘穿越

2015年7月7日上午,两位江…

10 年 ago

轮椅滑过冈仁波齐

【残疾人轮椅?】没错,就是残疾…

10 年 ago

甘孜自驾18天

2014年7月9日至26日,甘…

10 年 ago

This website uses cookies.