# Problem displaying arabic numbers in arabic!

**URL:** <https://forum.kirupa.com/t/problem-displaying-arabic-numbers-in-arabic/324383>\
**Category:** Uncategorized\
**Created:** [August 18, 2011, 2:27am UTC](https://forum.kirupa.com/t/problem-displaying-arabic-numbers-in-arabic/324383 "2011-08-18T02:27:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darroosh](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@darroosh](https://forum.kirupa.com/u/darroosh)\
**Post date:** [August 18, 2011, 2:27am UTC](https://forum.kirupa.com/t/problem-displaying-arabic-numbers-in-arabic/324383/1 "2011-08-18T02:27:18Z")

</div>

Hi all ,

I’m facing a problem … which I can’t understand .

Arabic numbers doesn’t dispaly well in web page…

After some googling, I found this code which displayed arabic numbers well …

[COLOR=#800080]\<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.0 Final//EN”\>[/COLOR][COLOR=#000000]

[/COLOR]

```auto
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body { direction: rtl; }
        </style>
    </head>

    <body>
        &#1780;&#1778;
    </body>
</html>

```

But I found that , If I write any other number in the same page , it’s dislayed in english !!And if I copy number from the already written in the previous code, it’s displayed in arabic !

and this is my tiral (In which the copied numbers are displayed in english while the written numbers are displayed in arabic) :

```auto

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> body { direction: rtl; } </style> </head>
    <body> &#1605;&#1589;&#1591;&#1601;&#1609;
    22 &#1778; 2
&#1778; &#1778; </body></html>

```

Thanks for any trial to help …
