I work on Windows 7, with phpunit & selenium & Firefox.
I have this code:
$value1 = $this->getText("//div[@id= bla bla");
$this->assertEquals($value1, "\u20AC 1,12");
where \u20AC
should be the Euro sign. I've also tried €
, €
, €
, but phpunit keeps giving an error, expecting some impossible character combination.
Printing $value1
gives me the same weird combination.
Anybody knows of a way to use, check on HTML special characters or which charset I should/could use?