PDA

View Full Version : Arabic text inside HTML code, how to put


Al-Saeed Abdi
31-12-06, 09:54 PM
As Salaamu Alaikum,

Does anyone know how to put Arabic text inside the HTML code? A mere copy and paste doesn't seem to be working.

Jazaak Allahu khair.

Ma'aSalaama

nami
31-12-06, 10:30 PM
seems to work for me. i've attached a basic html file.

after downloading the file, simply change the file extension from .txt to .html then double click it.

Al-Saeed Abdi
31-12-06, 11:47 PM
Hmm... It's still not working for me, here is a part of my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Ibn Muslim</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" media="all">@import "reservoir.css";</style>
</head>
<body>
كفجكدسلكدجف كجسدكل جفاك فجداس؛ل كفج؛اكل فجعيحجغحغح اسلكجفاسكل؛ج فدل س؛اجفا؛ل جكفدا؛ل جفد
</body>
</html>

I've tried removing the meta, but still no luck.

Ma'aSalaama

nami
01-01-07, 09:36 AM
Which program are you typing this in? If its notepad, click "save as" and select Unicode (UTF-16) then save it.