Tuesday, July 28, 2009

BreadCumbs text encoding

Hi!

I try to add following breadcrumb.
$html->addCrumb( 'Finanzämter', '/revenues' );

(It's german.) When I output the breadcrumbs on the page,
the chars get encoded the wrong way (I am using ISO-8859-1).
If I try to use HTML's special characters like ü - they get
printed as the look.

I am currently running with this code to support correct ouputs:
$html->addCrumb( utf8_decode('Finanzämter'), '/revenues' );

Some ideas why this happens?

Regards, Benedikt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: