How to handle internationalization in cakephp 3 during unit testing? In my case, I need to make assertResponseContains('Tilføj')one that contains the character "ø", and for some reason phpunit can not read it correctly, so the test fails, even if the answer contains the given word. Any suggestions ?,
assertResponseContains('Tilføj')
I have found a solution. I actually ran the test from the command line, which could not correctly display the letter "Ø". So the solution was to actually change the terminal codepage to UTF-8 using the commandchcp 65001 i
chcp 65001 i