You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And show me the page # features/step_definitions/web_steps.rb:217
"\xD0" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
./features/step_definitions/web_steps.rb:218:in `/^show me the page$/'
features/test_acquiring.feature:59:in `And show me the page'
Ruby 1.9, Rails 3
P.S. Sorry for long answer of previous ticket
The text was updated successfully, but these errors were encountered:
In case this helps, I just ran into the same error when downloading the content of web pages and writing them to disk. At the point where the error was happening, forcing the encoding to UTF-8 fixed it:
dodgy_str.force_encoding('UTF-8')
Where dodgy_str is the string which can have dodgy characters in it.
Failed with such error:
Ruby 1.9, Rails 3
P.S. Sorry for long answer of previous ticket
The text was updated successfully, but these errors were encountered: