Reply to Re: persian languages charset, and what DOCTYPE?

Your name:

Reply:


Posted by Harlan Messinger on 10/09/98 11:44

Simon wrote:
> Hi,
>
> I was asked to have a look at a page that apparently does not display
> Persian language.
> The obvious 2 problems is that the pages does not have doctype or Charest.

DOCTYPE has nothing to do with character representation. If the document
is served with a correct HTTP content type header, then a content-type
META tag is irrelevant.

Your page looks mostly fine in my Firefox, which thinks that your page
is encoded as Windows 1252, which lacks Arabic/Persian support
altogether. But it doesn't matter what encoding is claimed, as long as
ASCII is a subset of it, because the characters are encoded as numeric
character references. The only flaws are a number of question marks that
were obviously meant to be something else, and the appearance in two
places of "تست2", once after the date at the top, and once as the
first item in list of Recent Posts. The first one appears in the page
source as "تست2" and the second appears as
"تست2", the character entity
representation of the same thing.

[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

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