What is it with the Euro symbol?

Everything else that doesn't fall into one of the other PB categories.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

What is it with the Euro symbol?

Post 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?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Post 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.
Post Reply