Robin Houston wrote:
> On Wed, Jan 17, 2001 at 11:57:04AM +0000, Mark McLaren wrote:
>
> > How do I print currency symbols?
> >
> > I would like to use
> >
> > <xsl:output method="text/>
> >
> > I have tried:
> >
> > <xsl:text>£</xsl:text>
> >
> > For pounds sterling?
> >
> > But I get an A with ^ on top AND a pound sign.
>
> Yes, you would. The default output encoding is UTF-8.
> I would guess that you want ISO 8859-1, so you should use
>
> <xsl:output method="text" encoding="iso-8859-1"/>
>
> > Also, how do I print the Euro Symbol?
>
> That's a harder question. ISO 8859-1 doesn't include the Euro
> symbol. However it *is* included in 8859-15 and of course in
> Unicode. If your system supports it you can use ISO 8859-15
> output encoding, or indeed UTF-8.
>
> The Euro sign is €
>
> .robin.
Thanks Robin,
I'm still using Sablotron 0.44 since I am mostly on FreeBSD (0.50 has
wchar.h problems).
I take it this will not work in 0.44?
--
Mark
##########################################################################
# It said on the box "this software requires Windows 95 or better",
# so I installed Linux.
##########################################################################