Click to See Complete Forum and Search --> : Converting unique characters into HTML code
pratik_learner
07-18-2005, 11:44 AM
Hi I wanted to knwo how to convert certain chracters like say omega( U+03A9), pi(U+03C0), copyright sign(U+00A9) etc. into HTML code(like space is written as ) There seems to be no place ( in my view) where all listings are available. Is there a way ( by say a script or a program) to convert these characters into HTML.
You should be able to find what you need here: http://www.webreference.com/html/reference/character/
rrhodes
07-19-2005, 07:48 AM
Here is another reference in case you need it:
http://www.avenue-it.com/html/symbols.html
ccoder
07-19-2005, 08:33 AM
Here is a little web page that I did several years ago when I first started learning JavaScript. It may be what you are looking for. You can select a block of characters (Basic Latin, Greek, Currency Symbols, etc.) and it displays a list of the characters and the equivalent decimal value.
It works well in IE but has some overflow display problems in NS (and probably FX). The company I work for is strictly IE, so I didn't bother to try fixing it. If anyone wants to take a shot at getting it to work with NN, FX, etc., have at it.
This has not been tested under any other browsers. Also note that the characters displayed will vary from browser to browser (and version to version).