Sunday, September 12, 2010

Re: I can't slug the words "apple purée"

you could try to debug the Inflector::slug function by copying it to
your class and adding some debug steps like print_r, print_r(__LINE__)
etc to see exactly whats happening

On Sep 12, 12:18 pm, "Mariano C." <mariano.calan...@gmail.com> wrote:
> inside core.php
>
> Configure::write('App.encoding', 'UTF-8');
>
> I've even try with content type inside head:
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
>
> On 12 Set, 16:29, "j.blotus" <j.blo...@gmail.com> wrote:
>
>
>
> > From the cookbook:
> > The slug method expects UTF-8 encoding.
>
> > Are you using utf-8?
>
> > On Sep 12, 3:59 am, "Mariano C." <mariano.calan...@gmail.com> wrote:
>
> > > I have a list of words correctly slugged but, on word "apple purée"
> > > Inflector doesn't return me nothing.
>
> > > echo Inflector::slug("apple purée");
>
> > > not error or warning returned but neither an output. Why??? My cake is
> > > 1.3.
>
> > > PS: the words "apple purée" is used as example here:http://book.cakephp.org/view/572/Class-methods

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate