G
GS
Hi there. I hope this is the right place, to what should be a simple
question.
I have a website that is in English and now in Arabic. I am creating the
Arabic language content now, and am having a few problems getting the
content to display properly.
When I edit the files with the Arabic characters on my Windows box, in say
Notepad, the Arabic gets striped unless I save it as a Unicode document
(ANSI strips the Arabic and converts the chars into question marks). Now,
when I upload the Unicode document to my webserver, instead of parsing the
document normally, it is just displaying the actual contents of the file,
literally (it is a PHP page, so you see the <??> and other actual code being
displayed). Any idea what I am doing wrong? I am not sure what the problem
might be (i.e. file format, ftp transfer mode, web-server config, etc) so I
thought I would start here.
I am using the meta tag:
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
Should I be using:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> ?
Will this cure the code display issue?
Thank you for any help you can offer,
GS
question.
I have a website that is in English and now in Arabic. I am creating the
Arabic language content now, and am having a few problems getting the
content to display properly.
When I edit the files with the Arabic characters on my Windows box, in say
Notepad, the Arabic gets striped unless I save it as a Unicode document
(ANSI strips the Arabic and converts the chars into question marks). Now,
when I upload the Unicode document to my webserver, instead of parsing the
document normally, it is just displaying the actual contents of the file,
literally (it is a PHP page, so you see the <??> and other actual code being
displayed). Any idea what I am doing wrong? I am not sure what the problem
might be (i.e. file format, ftp transfer mode, web-server config, etc) so I
thought I would start here.
I am using the meta tag:
<meta http-equiv="Content-Type" content="text/html;charset=windows-1252">
Should I be using:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> ?
Will this cure the code display issue?
Thank you for any help you can offer,
GS