Shawn Heisey created SOLR-9295:
----------------------------------

             Summary: Remove Unicode BOM (U+FEFF) from text files in codebase
                 Key: SOLR-9295
                 URL: https://issues.apache.org/jira/browse/SOLR-9295
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: scripts and tools
    Affects Versions: master (7.0)
            Reporter: Shawn Heisey
            Priority: Trivial


When starting Solr built from the master branch on Windows, this is what you 
see:

{noformat}
C:\Users\elyograg\git\lucene-solr\solr>bin\solr start

C:\Users\elyograg\git\lucene-solr\solr>@REM
'@REM' is not recognized as an internal or external command,
operable program or batch file.
{noformat}

The three extra characters, found at the very beginning of the solr.cmd script, 
are a Unicode BOM, and are invisible to vim, notepad, and notepad++.  

The problem does not exist in 6.1.0, but IS present in branch_6x and master.

Using grep to find this character in the entire codebase, I found one other 
file with a BOM:

./solr/webapp/web/js/lib/jquery.blockUI.js




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to