在我的表中它存储Вы собираетесь выйти из системы. Уверены ли вы?
,但是当我从表中检索数据然后回显时,它显示?? ??????????? ????? ?? ???????. ??????? ?? ???
我想在这里做什么吗?
$getMessage = "";
$sql = "SELECT name FROM tblTranslate WHERE languageID=3 ";
$GetResult = $Obj->FetchData($sql, $Obj->DEFAULT_PDO_CONNECTIONS);
while ($row = $GetResult->fetch()){
$getMessage = $row['name'];
}
echo $getMessage;
我也尝试使用此方法,但结果仍然相同:
echo html_entity_decode($getMessage,ENT_QUOTES,"UTF-8");
echo htmlspecialchars($getMessage, ENT_NOQUOTES, 'UTF-8');