#405 new

Test with different encoding for test file and webpage

Reported by Foton | December 7th, 2012 @ 04:57 PM

I have all tests (cucumber) and steps writen in file with utf-8 encoding (using czech language).
But the page I test against is in windows-1250 encoding.
Using :mechanize method.
This makes errors "incompatible encoding" on methods like "click_link("Pořádný odkaz")" or using regexp globally.
Is there any way to convert response body to different encoding when it is retrieved, before any search in dom.
Something like:


No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket