在我的控制器中
$this->Flash->success('This is working');//OK
$this->Flash->success('日本語');//not working
成功.ctp
<?php
if (!isset($params['escape']) || $params['escape'] !== false) {
$message = h($message);
}
?>
<div class="message success alert alert-success alert-dismissible" onclick="this.classList.add('hidden')"><?= $message ?></div>
我正在研究 cakePHP 3.5 版如何显示带有日文字符的 flash。请帮我。