wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Arabic unicode characters in HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Arabic unicode characters in HTML" Watch "Arabic unicode characters in HTML" New topic
Author

Arabic unicode characters in HTML

Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Hi,
Does anyone know, what fonts do I have to install to display all arabic charcaters in my html page. I am able to display all arabic characters which are supported by Arial. But I have one special character with three dots, unicode in hexadecimal is 061E. It is not getting displayed! Any special font I have to install for this? Thanks in advance for your help.


Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Have you set the page encoding type?

Eric
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Appreciate your rely.
Yes. From browser menu View->Encoding->AutoSelect is checked. Even I tried explicitly setting it to Arabic(Windows). It displays most of the characters except some.
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
I tried using windows-1256(Arabic Windows) and iso-8859-6(Arabic ISO) in META tag charset field. Both code pages do not have that unicode.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Are you sure that hexadecimal 061E is a Unicode Arabic letter? I'm looking at the Arabic block of Unicode 600 - 6FF and 61E says N/A.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Yes Arabic unicode characters come between 0600 - 06FF.
So definitely 061E is under that range. right?
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
> So definitely 061E is under that range.

It's in the range but there are a nice number of slots that are empty. 061E is one of them.
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Thanks Dan for reply. But there 061E is not empty from the unicode chart. Check this unicode link
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18657
    
    8

You started out asking about fonts, but now you're discussing charsets. But you didn't actually say what the problem was, except that one character was "not getting displayed". I think we need more information about what exactly that means.
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
You started out asking about fonts, but now you're discussing charsets

I have to reply to the post when someone ask more info..
. But you did not actually say what the problem was, except that one character was "not getting displayed".


This is what exactly my problem is.. I am trying to display unicode character 061E(in hexa) in html. It should suppose to display special symbol. But It is not getting displayed. It displays empty space instead of that symbol.

Just write small html and just display above unicode character and check whether you get three dot symbols are not. I am not getting in my machine.. I am just checking whether I need to have any additional font installation in my machine to display that character?

Thanks for your patience..
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Take a look at : http://www.alanwood.net/unicode/arabic.html

Eric
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
Thanks Eric.
I already went through that page. In that page if you search for character 061E description(name) has mentioned as 'ARABIC TRIPLE DOT PUNCTUATION MARK', this is the chacracte i wanted to display. When I load that page, instead of getting that triple dot punctuation mark, I see empty square box. My browser is not displaying it.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18657
    
    8

Originally posted by Rizwan Mohammad:
I see empty square box
Yes, that definitely means you have a font problem and not a charset or encoding problem. I'm using Firefox and I get a question mark, but I do get the square box in Internet Explorer. Even though I'm using a font that can render common Arabic characters like alif and shin. And even Lucida Sans Unicode can't render that character.

So after all those responses, all I can tell you is that you did ask the right question originally. But sorry, I don't have an answer for it.
 
Don't get me started about those stupid light bulbs.
 
subject: Arabic unicode characters in HTML