Ruby test Capybara encoding UTF-8 does not work

Asked

Viewed 243 times

1

I created a new test project, using Ruby and Capybara for studies and I don’t understand why it’s not working. I have a very similar project on another PC, same configuration, the difference that the problem only occurs on the machine with windows 10, the other has Windows 7 and works properly.

In the Ghrekin header, I passed:

#encoding: utf-8

Would anyone know if it’s a Windows version problem or something?

1 answer

0

I managed to find the problem.

I do not know why was added a checkbox, within the configuration of windows 10 region.

Accessing Control Panel > Region > Administrative Tab > Changing System Locale... > Mark Checkbox Beta: Use Unicode UTF-8for worldwide language support

Problem Solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.