I need generate a report json file in jenkins, but cucumber shows this error: "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)"
I'm using in cucumber.yml this profile: cucumber: --format json -o cucumber.json
I need generate a report json file in jenkins, but cucumber shows this error: "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)"
I'm using in cucumber.yml this profile: cucumber: --format json -o cucumber.json
If you desire to convert code point C3 or 195 (Ã) to its UTF-8 equivalent I use:
[195].pack('U')
In my testing, this works for values from 0 through 1_114_111.