Re: language problem in database cake1.3
hi Marcelo,... here is solutiion,... have your database tables in: DEFAULT CHARSET=utf8; also add this on top of .sql file: SET NAMES 'utf8'; SET CHARACTER SET 'utf8'; in config/database.php add: class DATABASE_CONFIG { 'encoding' = 'utf8', and in /app .htaccess file add this line AddDefaultCharset UTF-8 add this in a head : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / /head that's all,... any language added to database can be readable in the view,... On Wednesday, December 12, 2012 3:53:58 AM UTC-8, Marcelo F Andrade wrote: On Tuesday, December 11, 2012 10:36:01 AM UTC-8, Chris wrote: anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks Em 11/12/2012 23:59, Chris chri...@yahoo.com javascript: escreveu: the problem is solved,... Please, share with us how did you fix it. MARCELO DE FREITAS ANDRADE Minha alma é maior do que eu. -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: language problem in database cake1.3
On Tuesday, December 11, 2012 10:36:01 AM UTC-8, Chris wrote: anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks Em 11/12/2012 23:59, Chris chris...@yahoo.com escreveu: the problem is solved,... Please, share with us how did you fix it. MARCELO DE FREITAS ANDRADE Minha alma é maior do que eu. -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: language problem in database cake1.3
anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks On Monday, December 10, 2012 11:56:41 PM UTC-8, Chris wrote: hi guys,... I'm having a problem with language in database... I'm in cake 1.3 I have in app_controller: App::import('Core', 'L10n'); App::import('Core', 'I18n'); I upload video from Youtube and have video name and description saved in database in Russina language,... but it gives me crap: ›Ð°Ñ ковый май- Розовый вечер in a view and in db... ?php echo $html-link(__($video['Video']['name'], true), '/videos/show/' . $video['Video']['id']) ? how can I fix this,... thanks in advance chris -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: language problem in database cake1.3
the problem is solved,... On Tuesday, December 11, 2012 10:36:01 AM UTC-8, Chris wrote: anyone,...? why do I see this crap in a view with cake1.3,? ›Ð°Ñ ковый май- Розовый вечер where it used to work in 1.2 thanks On Monday, December 10, 2012 11:56:41 PM UTC-8, Chris wrote: hi guys,... I'm having a problem with language in database... I'm in cake 1.3 I have in app_controller: App::import('Core', 'L10n'); App::import('Core', 'I18n'); I upload video from Youtube and have video name and description saved in database in Russina language,... but it gives me crap: ›Ð°Ñ ковый май- Розовый вечер in a view and in db... ?php echo $html-link(__($video['Video']['name'], true), '/videos/show/' . $video['Video']['id']) ? how can I fix this,... thanks in advance chris -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
language problem in database cake1.3
hi guys,... I'm having a problem with language in database... I'm in cake 1.3 I have in app_controller: App::import('Core', 'L10n'); App::import('Core', 'I18n'); I upload video from Youtube and have video name and description saved in database in Russina language,... but it gives me crap: ›Ð°Ñ ковый май- Розовый вечер in a view and in db... ?php echo $html-link(__($video['Video']['name'], true), '/videos/show/' . $video['Video']['id']) ? how can I fix this,... thanks in advance chris -- 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 post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.