My table looks like this:
province_id int(11)
province_title char(200) utf8_general_ci
parent int(8) int(2)
I inserted a lot of data directly from phpMyadmin (not from a php page). but when I get this data and show it on the php page, there are problems with special characters.
as -
Québec shows - Qu bec.
my html header looks like
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
I think the problem could happen when inserting data. how can i convert this data to phpmyadmin? any help?
source
share