I have a test action in my Controller with a slug parameter.
/**
* @Route("/test/{re}")
*/
public function test(Request $request,$re) {
return new Response("<html><head><meta charset='UTF-8'></head><body>".$re."</body></html>");
}
Although in Apache worked just fine with utf8 when i uploaded the whole project in iis the result appear like this : ��������. I know that the controller is in utf-8 because when i try to replace $re with a non latin word is appearing just fine. Any suggestions?? (Also the url in my browser is fine)