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

Robert Muir updated SOLR-1865:
------------------------------

    Attachment: SOLR-1865.patch

attached is a patch to ignore BOM's at the beginning of files loaded with 
getLines()


> 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
>
>
> 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.

Reply via email to