luffy
(Kingla Pei)
1
There is a special character in the string $title = "Interview – BBC"
The special character is –
after $model->save()
the title in the table will become "Interview", not the whole string "Interview – BBC"
Yii model will cut the string if meet some special character
how to keep the whole string when save?
luffy
(Kingla Pei)
2
Some characters will become & # 22882;& # 20360;& # 21697; in the database
sensorario
(Sensorario)
3
I’m not shure. I thunk depends of differents charset from database and page. I would try with utf-8 in both situations.