Forum Moderators: open
I am lost in a morass of stuff about iso chatacters but cannot find what I need to replace the symbol with.
This is my doctype, in case that is relevant.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
view-source:http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
view-source:http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
view-source:http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
Each entity has a descriptive comment next to it indicating what the entity represents. For example, euro is the last entity listed in the second document in link above (xhtml-special.ent). It looks like this:
<!ENTITY euro "€"> <!-- euro sign, U+20AC NEW -->
You can use the standard entity € or the hex entity it evaluates out to €. You can also use the full unicode scan code given in the comment in your JavaScripts by using the unicode escape (\u), like
document.write("\u20AC"); Jordan