Page 1 of 1

What is it with the Euro symbol?

Posted: Wed Sep 22, 2004 2:34 pm
by Karbon
I'm transforming some xsl/xml into HTML using PureBasic and just can't seem to get the encoding right in the HTML document.

This is what I'm using :

Code: Select all

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
Which works for some stuff, but for the euro symbol and more it just shows a question mark - even on European computers.

I'm at a loss.. What can be done?

Posted: Wed Sep 22, 2004 3:05 pm
by freedimension

Posted: Wed Sep 29, 2004 7:12 am
by Seldon
The EURO symbol comes with Latin-9 charset, known as ISO-8859-*15* . So try this:

Code: Select all

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-15">
Microsoft Windows charset slightly differs from ISO and the EURO sign is mapped in a different location, but adding such META definition, it should work.

Let me know.