[xsl] Character 150 withs Windows-1252 output

Subject: [xsl] Character 150 withs Windows-1252 output
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 20 Apr 2006 18:37:05 +0100
Why is it that #150 gets escaped when using Windows-1252 output
encoding when it should contain that character?

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output encoding="Windows-1252" method="xml"/>
<xsl:template match="/">
<html>
<head></head>
<body>&#150;</body>
</html>
</xsl:template>
</xsl:stylesheet>

This produces the output <body>&_#150;</body> - I would have expected
the character to be resolved...

(using msxml and saxon 6.5.4, 8.7.1)

Current Thread