Utf8 characters in cucumber feature file

In my feature file, I have the following line:

When I search with <q=+Bront> using xml

This blows up with:

incompatible character encodings: UTF-8 and ASCII-8BIT
(Encoding::CompatibilityError)

Is there a trick to getting non-ascii characters in a .feature file?

(I’m pretty sure that my feature file is saved in utf-8).

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs