You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/05/08 01:37:47 UTC

[jira] Updated: (SOLR-1865) ignore byte-order markers in SolrResourceLoader

     [ https://issues.apache.org/jira/browse/SOLR-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-1865:
---------------------------

    Attachment: SOLR-1865.patch

Robert: i updated your test to verify that the file has a BOM in it just in case someone (or some software) inadvertently removes it.

if this looks cool then by all means commit.

> ignore byte-order markers in SolrResourceLoader
> -----------------------------------------------
>
>                 Key: SOLR-1865
>                 URL: https://issues.apache.org/jira/browse/SOLR-1865
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: SOLR-1865.patch, SOLR-1865.patch
>
>
> If you create say a stopwords list with windows notepad or other editors and save as UTF-8, 
> some of these editors will insert a byte-order marker (zero-width no-break space) as the first 
> character of the file.
> http://www.lucidimagination.com/search/document/5101871231fc95af/is_this_a_bug_of_the_ressourceloader

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org