cucumber/cucumber-jvm — Issue #198: Support different character encodings for feature files
Author: hackbert
Created: 2012-02-07 12:31:41+00:00
State: open

If I have understood the code (or more specificly cucumber.runtime.FeatureBuilder.class) correctly then feature files are always read in UTF-8 encoding. I have a project here where the prevalent encoding is ISO-8859-1 and it would be convenient not to break this convention for the feature files.

If I'm right and there is interest in the support of more than one file encoding I would be happy to contribute.
But I would need some directions how this should work: Like would there be a comment like the language comment at the top of the file or how would the encoding be determined?