You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2007/05/10 23:38:15 UTC
[jira] Assigned: (SOLR-233) Add UTF-8 support to example.xsl
[ https://issues.apache.org/jira/browse/SOLR-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley reassigned SOLR-233:
----------------------------------
Assignee: Ryan McKinley
> Add UTF-8 support to example.xsl
> --------------------------------
>
> Key: SOLR-233
> URL: https://issues.apache.org/jira/browse/SOLR-233
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.1.0
> Environment: all
> Reporter: KuroSaka TeruHiko
> Assigned To: Ryan McKinley
>
> If conf/xslt/example.xsl is applied to non-ASCII characters such as Arabic, the output gets garbled, because the output encoding is not properly specified.
> The xsl:output element in example.xsl needs to be modified as suggested in the following email:
> From: Brian Whitman
> Sent: Thursday, May 10, 2007 1:19 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Does Solr XSL writer work with Arabic text?
> In example.xsl change the output type
> <xsl:output media-type="text/html"/>
> to
> <xsl:output media-type="text/html; charset=UTF-8" encoding="UTF-8"/>
> And see if that helps. I had the same problem (different language.)
> If this works we should file a JIRA to fix it up in trunk.
> On May 10, 2007, at 4:13 PM, Teruhiko Kurosaka wrote:
> > I'm trying to search an index of docs which have text fields in
> > Arabic,
> > using XSL writer (wt=xslt&tr=example.xsl). But the Arabic text gets
> > all garbled. Is XSL writer known to work for Arabic text? Is anybody
> > using it?
> >
> > -kuro
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.