php - cant get gujarati text from mysql database -
i have database with gujarati text in it.
have used utf-8 displaying using php, cant display gujarati font.
example: have string in gujarati : u00abfku00fe
real font is: પ્રકાશ so, there other decoding method display text.
you should set charset utf-8 in both insert , record database when using other characters,
$db->setcharset('utf8'); also specify database table's collation uft8 general ci
Comments
Post a Comment