标签: php encoding utf-8 character-encoding cyrillic
当我将сyrillic文本放到textarea并在服务器上提交表单时,我得到了碰撞字符集param $_POST['text']:
textarea
$_POST['text']
string(571) " � Ð°Ñ€Ñ‚Ð¸Ñ Ð›Ð”ÐŸÐ Ð¿Ð¾Ð´Ð°Ð»Ð° в Ñуд на бывше
<meta http-equiv="Content-Type"content="text/html; charset=utf-8"/>
$config['charset'] ='UTF-8';