You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/06 01:01:10 UTC
[Solr Wiki] Update of "XsltResponseWriter" by DesmondSilveira
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "XsltResponseWriter" page has been changed by DesmondSilveira.
http://wiki.apache.org/solr/XsltResponseWriter?action=diff&rev1=17&rev2=18
--------------------------------------------------
{{{
<xsl:output media-type="text/html"/>
}}}
+
+ Note that on Windows, the encoding defaults to 8859-1. To ensure that UTF-8 is used for encoding, use this:
+
+ {{{
+ <xsl:output media-type="text/xml;charset=utf-8"/>
+ }}}
+
+
= Configuration =
The XSLT Response Writer is configured as in this example (from the default solrconfig.xml):