Re: Accented character in a TextArea

2009-03-03 Thread whitewolf

Thank you very much.
It has been the encoding.
Good intuition doc.

On 3 Mar, 09:55, "dr. Hannibal Lecter"  wrote:
> Encoding is probably the problem. Try the following:
>
> http://dsi.vozibrale.com/articles/view/cakephp-character-encoding-spe...
>
> On Mar 2, 10:47 am, whitewolf  wrote:
>
> > Hi guys,
> > I'm new with CakePhp,
> > I have my first hurdle with my pratical excercise.
> > When i try to fill one textarea with a string that contains an
> > accented character (this comes from mysql databasefield), it doesn't.
> > But when replace that character with  an alfabetical character the
> > textarea displays correctly the string.
>
> > I used the form helper in this way
> > echo $form->input('project_details', array('type'=>'textarea','label'
> > => 'Dettagli Progetto','rows'=>'5','cols'=>'10');
>
> > project_details is a TEXT database field.
>
> > What is the matter?
>
> > Thanks in advance for your help.

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Accented character in a TextArea

2009-03-03 Thread dr. Hannibal Lecter

Encoding is probably the problem. Try the following:

http://dsi.vozibrale.com/articles/view/cakephp-character-encoding-special-characters

On Mar 2, 10:47 am, whitewolf  wrote:
> Hi guys,
> I'm new with CakePhp,
> I have my first hurdle with my pratical excercise.
> When i try to fill one textarea with a string that contains an
> accented character (this comes from mysql databasefield), it doesn't.
> But when replace that character with  an alfabetical character the
> textarea displays correctly the string.
>
> I used the form helper in this way
> echo $form->input('project_details', array('type'=>'textarea','label'
> => 'Dettagli Progetto','rows'=>'5','cols'=>'10');
>
> project_details is a TEXT database field.
>
> What is the matter?
>
> Thanks in advance for your help.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Accented character in a TextArea

2009-03-02 Thread whitewolf

Hi guys,
I'm new with CakePhp,
I have my first hurdle with my pratical excercise.
When i try to fill one textarea with a string that contains an
accented character (this comes from mysql databasefield), it doesn't.
But when replace that character with  an alfabetical character the
textarea displays correctly the string.

I used the form helper in this way
echo $form->input('project_details', array('type'=>'textarea','label'
=> 'Dettagli Progetto','rows'=>'5','cols'=>'10');

project_details is a TEXT database field.

What is the matter?


Thanks in advance for your help.




--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---