Testing special characters with PHP Unit
问题 I am testing my controller from Symfony2 with PHPUnit and the class WebTestCase return self::$client->request( 'POST', '/withdraw', array("amount" => 130), array(),array()); $this->assertEquals( "You can withdraw up to £100.00.", $crawler->filter("#error-notification")->text()); But I get this error: Expected: "You can withdraw up to £100.00." Actual: "You can withdraw up to £100.00." The thing is that in the webpage and the source code it looks fine, so I am thinking that maybe PHPUnit is