Reply to Multiple Language Website

Your name:

Reply:


Posted by GS on 06/15/05 19:31

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация