Jump to content

why my font is displaying like this ط³ظٹط


phpmady

Recommended Posts

Hi,

 

I am using arabic fonts, where i use the encoding type of windows-1256 format, when i fetch the data  from the table no problem, it shoing correctly, but when am hardcoding the content, am mot getting correctly instead am getting like this..

 

whats the problem might me

Hi,

 

header("Content-Type: text/html; charset=windows-1256");

 

this is the header am using in file

I am using arabic fonts, where i use the encoding type of windows-1256 format, when i fetch the data  from the table no problem, it shoing correctly, but when am hardcoding the content, am mot getting correctly instead am getting like this..

 

whats the problem might me

try use utf-8 encoding in database and in tables and in php. and add this line mysql_query("SET NAMES 'utf8'");

if it's not working let me know cause i have few more suggestions

 

Hi,

 

can u suggest me any other ways, by using windows1256,  help me

 

 

thank you

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.