tags:

views:

98

answers:

4

I try out CakePHP. 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?' );
A: 

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

Eragonio
A: 

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

DavidYell
This two things doesn't work too.
Eragonio
A: 

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

Evernoob
I try this but it doesn't work too. Maybe it's a server problem.
Eragonio
A: 
link(string $title, mixed $url = null, array $htmlAttributes = array(), string $confirmMessage = false, boolean $escapeTitle = true)

try setting escapeTitle to false?

David Morrow