problem displaying alpha (scientific character)

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
veenasv
Forum Newbie
Posts: 8
Joined: Wed Aug 20, 2003 11:15 am

problem displaying alpha (scientific character)

Post by veenasv »

Hi,
In my html form I have to display character alpha, beta and gamma
I used the Numeric Character Reference as &#945,&#946 and &#947 respectively. but when I view the webpage, it shows like A, B and G (with weird font style). I tried allthe possibilities in vain. Please suggest
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

don't know if this will be any help

http://www.asciitable.com/

Mark
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

maybe your browser is not capable of displaying Greek characters (yet)
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Does this work?

Code: Select all

α - β - γ
Beware, it varies from browser to browser... So just because it works or you (or in this case me) it might fail at another users screen.
User avatar
Vincent Puglia
Forum Commoner
Posts: 67
Joined: Thu Sep 04, 2003 4:20 pm
Location: where the World once stood

Post by Vincent Puglia »

Hi,

The displaying of characters is dependent upon the font being used.
If the font does not have the character, it defaults to the next best -- which isn't always what you intended.

Vinny
Post Reply