1.11M Members

How to prevent � symbols in php ?

 
0
 

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..

 
0
 

Are you sure your file's encoding is in UTF8 too?

 
-2
 

what browser are you using? Some browsers don't care about this meta tag.

 
0
 

yes pritaeas, i mentioned the above line as it is....
Msanches, I'm using Mozilla firefox ( Latest version )

 
1
 

I did not mean the tag, the file itself has an encoding too (even without the meta tag).

 
0
 

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 ?

Question Answered as of 1 Year Ago by pritaeas and Msanches
 
0
 

That the file itself is not in utf8 encoding, but the meta tag says it is.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: