On Nov 4, 9:53 am, Điển vũ <[email protected]> wrote:
> Convert UTF-8 Problem with php , but i don't know how to do .
> I want to ask cakephp  about this because i use cakephp .
>
> In cakePHP 1.3 i use 'encoding' => 'UTF-8', it is my mistake. Now i known
> it must be 'encoding'=>'uft8' when update to update to cakephp 2.0
> But i end up submit a lot Japanese character , and now it show like this:" 
> –ルーアã
>  "
>
> How can i convert it compatible with 'encoding'=>'utf8' . My database is 
> utf8_general_ci
>  from 1.3.

You either do it directly on the db (dump, convert, import. OR. dump
forceing charset, import)

OR

You need something like this: https://gist.github.com/05d1f3a4cdf53e110930

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to