Skip to content

Apache Lucene open-source search software

SOLR-233 -- adding UTF-8 encoding to xsl:output

Ryan McKinley4461557efe64
diff --git a/example/solr/conf/xslt/example.xsl b/example/solr/conf/xslt/example.xsl
index 75178f29d27..6832a1d4cb3 100644
--- a/example/solr/conf/xslt/example.xsl
+++ b/example/solr/conf/xslt/example.xsl
@@ -24,7 +24,7 @@
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
>
- <xsl:output media-type="text/html"/>
+ <xsl:output media-type="text/html; charset=UTF-8" encoding="UTF-8"/>
<xsl:variable name="title" select="concat('Solr search results (',response/result/@numFound,' documents)')"/>