On Wednesday 23 February 2005 09:33, Seán Mac Suibhne wrote:
> Also that the weekly Irish language newspaper www.FOINSE.ie is using faulty
> code which makes the accented characters in Irish look rather peculiar!
I glanced quickly through the code of foinse.ie.
The site is sending as ISO-8859-1. That charset is a bit limited, in that it
doesn't natively have a Euro symbol. The server should really send as either
ISO-8859-15, or UTF-8 (recommended).
The weird looking characters are caused by whoever it was writing the HTML not
bothering to put the semi-colon at the end of the HTML entities - é,
for example. This may be okay in broken browsers like IE, but it's not okay
in modern standards-abiding browsers.
I won't comment on the code of the site, as it would just start a holy war,
but just look here:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.foinse.ie%2F
--
Kae Verens
lead programmer for http://webworks.ie/kverens at webworks.iedev at webworks.iekae at verens.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!