How to prevent � symbols in php ?
Dear All,
I'm facing problem with the symbols while getting the data from the table.. My output contains these ( � ) type of symbols i don't know why these coming even i declared
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Can any one having solution for this ?
Thanks in advance..
43 Minutes
Discussion Span
Related Article: php array to mysql tabel
is a PHP discussion thread by sowh4t that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: php, array, to, mysql, tabel.
rayidi
Junior Poster in Training
83 posts since May 2011
Reputation Points: 13
Solved Threads: 2
Skill Endorsements: 0
Are you sure your file's encoding is in UTF8 too?
pritaeas
Posting Prodigy
9,310 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86
yes pritaeas, i mentioned the above line as it is....
Msanches, I'm using Mozilla firefox ( Latest version )
rayidi
Junior Poster in Training
83 posts since May 2011
Reputation Points: 13
Solved Threads: 2
Skill Endorsements: 0
I did not mean the tag, the file itself has an encoding too (even without the meta tag).
pritaeas
Posting Prodigy
9,310 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86
pritaeas, I'm not sure.. If i removed the <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> its working fine now.. what would be the reason ?
rayidi
Junior Poster in Training
83 posts since May 2011
Reputation Points: 13
Solved Threads: 2
Skill Endorsements: 0
Question Answered as of 3 Months Ago by
pritaeas
and
Msanches That the file itself is not in utf8 encoding, but the meta tag says it is.
pritaeas
Posting Prodigy
9,310 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86