Re: [xsl] Problems generating w-circumflex character for HTML output

Subject: Re: [xsl] Problems generating w-circumflex character for HTML output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 16 Aug 2004 10:22:28 +0100
> In HTML the w-circumflex character is defined as &wcirc; - and if I
> put that in an HTML document it displays fine. 

That's the most surprising part of your mail. Which browserare you using?
wcirc  is in ISO latin2 and is as you say, character hex 175, but that
entity isn't defined in any version of html or xhtml as far as i can
see.


> e unicode character for this is 0175(hex) If I put that in my
> stylesheet, I get a captial a with a circle above it followed by a
> greek u in the final HTML output. 

I would guess that you are getting utf8 output and looking at the file
in a system configured for latin 1 or latin2. If you specify your output
to be eg iso-8859-1 using xsl:output or (better) configure your browser
to correctly recognise the encoding used, the characetr will display
correctly.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread