Forum Moderators: open

Message Too Old, No Replies

Browser not showing Euro symbol

Optional approaches to a solution.

         

kapow

8:46 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am developing a site that shows some prices in Euros. It looks fine when I (and several other people) view in IE - But one of the people reviewing the site (on a home computer - I'm not sure which browser yet) sees € instead of the Euro symbol.

Is it the browser or the html? The html looks like this: <td><h6>&euro; 114.00</h6></td>
I could change all mention of Euros to '114.00 Euros' and not use the symbol code - but I like the symbol.

ps: no problem with the pound symbol.

Nick_W

9:19 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried the numerical reference?

&#8364;

You'll really need to find out what browser they're using....

Nick

kapow

9:41 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Nick_W
Its not that I need it to work on that persons browser, I need to know the best general approach for almost all browsers.

Can anyone say if &euro; or &#8364; work for almost all browsers? or what the best general alternative is?

I'll find out about this specific browser (could take a few days to find out - the person isn't contactable often) - my real concern is that it works on most browsers. I was under the impression that &euro; was a general standard.

Is it me that needs to learn a better standard or can I tell the other person that they have a rare problem and its not worth changing the website for.

Nick_W

10:08 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My guess is it's an old browser. A very old browser.

Nick

quiet_man

10:08 am on Jul 10, 2002 (gmt 0)

10+ Year Member



I don't know if its a browser issue or an OS issue, but I've seen it too. Personally I prefer to use &euro; because if it doesn't render as the euro symbol on their systems at least users can see the word 'euro'. if you use the ISO character entity - &#8364; - and their OS is still incapable of rendering the euro symbol, they just see some meaningless figures.

rewboss

10:29 am on Jul 10, 2002 (gmt 0)

10+ Year Member



It will be an old browser, possibly IE4? In that case, I doubt if &#8364; will work, either.

Windows platforms will also understand &#128; although that can't be guaranteed to work on all platforms, since this is outside of the standardized 7-bit encoding.

If the visitor has a browser that won't render the &euro; entity, the chances are that he or she won't have a font installed that includes the euro character.

Note that some browsers on some platforms won't display the entity, but a ? sign. This is most often the case with numerical entities.

The number of people this affects is vanishingly small, though, and getting smaller all the time. There are one or two things you can do:

1. You can put, somewhere prominently on the page, something to the effect of "All prices in euros". If you can do that -- i.e., if all the prices on the page really are in euros -- you don't need to put the euro sign in at all.

2. You can use the internationally-recognized three-letter abbreviation EUR. Although this might not be understood by Americans and Brits, it will be understood by most Europeans who, until the beginning of this year, were constantly changing money and seeing these abbreviations. Other abbreviations include: GBP for the British pound, USD or US$ for US dollars, YEN for Japanese yen.

3. You can ignore the issue altogether, if it doesn't affect too many people.

kapow

10:35 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> You can ignore the issue altogether, if it doesn't affect too many people.
Sounds good to me.

I'm waiting to hear which platform and browser the person uses. I will probably keep &euro; and maybe add a note about all prices in Euros too.

papabaer

10:44 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Adding a notation stating that all prices given are in Euros is a good idea in any event.

If pressed for limited use, one approach you can take is to use a title attribute assigned to a span or use a definition list:

<span title="Euro 114.00">&euro; 114.00</span>

Definition List:
<dl title="All prices are given in Euros">
<dt title="Euro 114.00">&euro; 114.00</dt>
<dd>Description of product - Definition Lists are great!<dd>
</dl>

It might even aid accessibility in some cases.

rewboss

10:57 am on Jul 10, 2002 (gmt 0)

10+ Year Member



::snigger::

I just saw papabaer edit out his code bloat. :)

luma

11:15 am on Jul 10, 2002 (gmt 0)

10+ Year Member



In your example, I would use "EUR 114.00". Anyway, here are some helpful links:

Bob Baumel's page Using Special Characters on Web Pages: Cross-Platform Considerations [home.earthlink.net] explains why there are problems with Microsoft Windows characters outside the Latin-1 set [home.earthlink.net]. Also have a look at Jukka Korpela's The euro sign in HTML (and in some other contexts) [cs.tut.fi] document.

papabaer

11:17 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



LOL! Yep... it happened when I changed the original heading example:
<h6><span title="Euro 114.00">&euro; 114.00</span></h6>

to the <dl><dt><dd> example and and left the span in place. Always a "quick previewer" and an even faster "clicker" I noted the results and said "Hey... wait a minute!" ;)

kapow

11:50 am on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I really like the more professional look of the symbol, but 'EUR' works for very old or very odd browsers.

Hmmm, I don't want perfection (ie works for absolutely everyone = dull), I want professional quality (ie looks good and works for most).

Is there general agreement that &euro; works for almost all?

Luma - THANKYOU
for the most comprehensive set of links anyone could possibly need for the Euro symbol and related subjects. Once again the members of WMW amaze me :)

luma

2:13 am on Jul 11, 2002 (gmt 0)

10+ Year Member



Hmmm, I don't want perfection (ie works for absolutely everyone = dull), I want professional quality (ie looks good and works for most).

Well, I think there's a reason why Amazon.de and Ebay.de use EUR instead of the fancy character. You just never know if there are some legal issues involded. What if your customer claimes he thought you were using Yen prices. ;)

Is there general agreement that &euro; works for almost all?

If you check that last link, you'll notice that he claims &#8364; to be "rather widely but not universally supported" and &euro; to be "somewhat less widely supported but may degrade better".

For the time being, I would still use EUR. It's not just about the screen, some printers have also problems with the euro symbol. The more professional the site, the less experimental they'll act.

[edited by: luma at 2:26 am (utc) on July 11, 2002]

papabaer

2:25 am on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Luma, you make some very valid points. I think EUR offers the safest solution from what you have explained. Thanks for the great input!

kapow

8:14 am on Jul 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK I'm convinced, EUR it is.
Thankyou for expanding my website understanding.