I am working on multisite language that is in yii2, I have chinese and japanese language in it, When i insert record with chinese or japanese it is added with ?????
, i have added
header('Content-Type: text/html; charset=UTF-8');
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
in layouts/main.php file but still in database added character as ????
,
I have other solution to change charset to utf-8
for each column in database But this will be take too much time
Is there any simple way to solve this ?