UTF8 and javascript

This commit is contained in:
Gnieark 2015-12-18 21:49:25 +01:00
parent 3551bf8a17
commit b7f157c263

View File

@ -249,7 +249,7 @@ switch ($_POST['act']){
if(($x >= $_SESSION['width']) OR ($y >= $_SESSION['height'])){
echo json_encode(array(
'target' => '',
'log' => $currentBot['name']." a fait un tir en dehors des limites de la carte. C'est interdit par les conventions de Genève. Il perd"
'log' => $currentBot['name']." a fait un tir en dehors des limites de la carte. C'est interdit par les conventions de Geneve. Il perd"
));
save_battle('Battleship',$_SESSION['bot1']['name'],$_SESSION['bot2']['name'],$opponent);
}