Yes, both views are UTF-8, but the thing is even the debug
($vargeneratedbytheFind), before it gets to the view, shows the errors
brought from the table. In one controller it read perfectly and the
other with the weird characters:
that one generate acceptable content:
$items2 = $this->Item->find('list');
$this->set('items2',$items2);
that one does not:
$items3 = $this->PedidoMovimento->Item->find('list',array
('fields'=>'Item.unidade','Item.id'));
$this->set('items3',$items3);
thanks
Carlos
On 19 nov, 01:26, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
> Are both views UTF-8 ?
> On Nov 18, 2:28 pm, carlos ferrandis <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > I have 2 controllers getting info through find('list") from within the
> > same table which has special characters from Portuguese, the crazy
> > thing is one controller is able to show the right characters, the
> > other show weird characters. How could that be possible? any idea
> > what I can try?
>
> > thanks a lot
>
> > Carlos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---