Check if your database config has ‘encoding’ => ‘utf8’ uncommented…
https://github.com/cakephp/cakephp/blob/master/app/Config/database.php.default#L75

If you insert hindi text to mysql manually, is your cakephp app displays it 
correctly on a results ?

Andras Kende
http://www.kende.com

> On Dec 15, 2014, at 12:08 AM, Rizban Ahmad <[email protected]> 
> wrote:
> 
> Hello Everyone,
> 
> I am novice programmer of Cakephp, and developing a news website. For which i 
> have to be inserted hindi text using a form, but 
> it is stored in some different character. I have completed some work...
> 1. selected collation type utf8_unicode_ci for storing news 
> 2. at default.ctp file ; i am using echo $this->Html->charset();
> 3. at add.ctp file; i have added <meta http-equiv="Content-Type" 
> content="text/html; charset=utf-8" /> tag.
> 
> but still not storing hindi font.
> 
> Please give me some suggestion.
> 
> 
> -- 
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to