Monday, August 3, 2009

Re: BreadCumbs text encoding

ich habs auch nur durch try and error rausgefunden. in der api findet
man nicht immer alles ;)

On 29 Jul., 10:21, "Benedikt R." <bened...@rossgardt.de> wrote:
> Working fine.
>
> ---
>
> Vielen Dank. Ich dachte das übergibt man als Extra-Parameter. Aber
> als ich in der API keinen gefunden habe war ich verwirrt :-).
>
> Grüße zurück ;-)
>
> On 29 Jul., 09:56, orbdex <obohl...@googlemail.com> wrote:
>
> > try: echo $html->addCrumb("Finanz&auml;ter","/do/something",array
> > ("escape"=>false));
>
> > Böses Finanzamt ;) Greetings from Mainz
>
> > On 29 Jul., 02:08, "Benedikt R." <bened...@rossgardt.de> wrote:
>
> > > 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 &uuml; - 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: