开发者

What is the difference?

开发者 https://www.devze.com 2022-12-30 07:39 出处:网络
I try out CakePHP.开发者_如何学Go I follow this Tutorial and can\'t find out why this code doesn\'t work. The code from the tutorial works fine.

I try out CakePHP.开发者_如何学Go I follow this Tutorial and can't find out why this code doesn't work. The code from the tutorial works fine.

echo $html -> link('Löschen', array('action' => 'delete', 'id' => $post['Post']['id']), null, 'Sind Sie sicher?' );

Its a problem with the "ö". Without the "ö" everything works fine.


Try using __() as this will allow more translations and stuff, it might fix your issue. Either that, or convert it to an HTML entity.


try enabling iconv.internal_encoding = UTF-8 in your php.ini file to handle non-standard characters like the ö there you're using.


link(string $title, mixed $url = null, array $htmlAttributes = array(), string $confirmMessage = false, boolean $escapeTitle = true)

try setting escapeTitle to false?


Consider oe instead of o with an umlaut

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号