-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Cucumber not ripe? Can’t find your peeler? These are some common problems people have experienced. -And how to address them.
Missing _a_s in the output? Do your _æ_s, _ø_s and _å_s looke like garbled “Commodore 64 characters”http://kofler.dot.at/c64/ ? There are three steps to fix this.
First – add require 'cucumber/formatters/unicode' to your env.rb file.
Second – set your command window’s font to a font that has the characters you’re outputting – for example Upper Left corner icon menu → Properties → Font → Lucida Grande.
Third – in your command prompt, change the codepage:
chcp 1252
Now you should be able to get aæøå in your output on Windows.
Note that 1252 is not UTF-8 – it’s essentially Latin1. You can also try to set it to 65001, which is UTF-8, but this has the unfortunate side effect of temporarily neutering all your computer’s bat files so they cannot be executed (including cucumber.bat and rake.bat).
For more info, see Lighthouse issue #81