Ruby test capybara encoding UTF-8 does not work

1

I created a new test project, using Ruby and Capybara for studies and I'm not understanding why it is not working. I have a very similar project in another PC, same configuration, the difference that the problem only occurs in the machine with windows 10, the other one has Windows 7 and works correctly.

In Ghrekin's header, I passed:

#encoding: utf-8

Can anyone tell me if it's a Windows version problem or something?

    
asked by anonymous 23.08.2018 / 13:46

1 answer

0

I was able to find the problem.

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

Accessing Control Panel > Region > Administrative Tab > Change system locale ... > Mark Beta Checkbox: Use UTF-8 Unicode for World Language Support

Problem solved.

    
23.08.2018 / 14:13