symphony-3 icon indicating copy to clipboard operation
symphony-3 copied to clipboard

Debug Devkit encoding issues

Open allen opened this issue 14 years ago • 0 comments

From Stephen Bau:

I'm finding that when I view the ?debug page, there are character encoding issues for the title of the page. I'm using the standard page-title utility

http://github.com/bauhouse/symbiosis/blob/master/utilities/page-title.xsl

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template name="page-title">
        <xsl:value-of select="$website-name"/>
        <xsl:text> &#8212; </xsl:text>
        <xsl:value-of select="$page-title"/>
</xsl:template>

</xsl:stylesheet>

However, the Debug Devkit extension is having an issue with displaying the page title properly. It ends up looking like this:

<title>Symbiosis &acirc;&#128;&#148; Articles</title>

When it should be this:

<title>Symbiosis — Articles</title>

That is:

<title>Symbiosis &#8212; Articles</title>

allen avatar Jul 19 '10 12:07 allen