cucumber-attic / gherkin2

A fast Gherkin parser in Ragel (The parser behind Cucumber)
MIT License
382 stars 221 forks source link

Byte Order Mark removal if detected #301

Open daverubert opened 10 years ago

daverubert commented 10 years ago

Hi, I have finally managed to add a detection check of a Byte Order Mark before processing the file/string with the javascript lexer.

I have tested locally and it seems to work fine with cucumber-js. I can't find the ignored test for BOM, to enable it again and see if everything works well. I could write a new test if this is missing.

jbpros commented 9 years ago

This is needed by https://github.com/cucumber/cucumber-js/issues/144.