lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (SOLR-1865) ignore byte-order markers in SolrResourceLoader
Date Fri, 07 May 2010 22:26:48 GMT


Robert Muir commented on SOLR-1865:

Hoss Man: it is true that, as bytes, other encodings represent the BOM in a different way.

However, your last statement is the important part: 
the Reader converts it to java characters (UTF-16) encoding for us.

So in String or char context it is always going to be U+FEFF, regardless of whichever unicode
encoding it was originally in.

> ignore byte-order markers in SolrResourceLoader
> -----------------------------------------------
>                 Key: SOLR-1865
>                 URL:
>             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
> some of these editors will insert a byte-order marker (zero-width no-break space) as
the first 
> character of the file.

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:
For additional commands, e-mail:

View raw message