Yii Framework Forum: Unicode Turns Into ? In Yii Active Record. Plz Help. - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unicode Turns Into ? In Yii Active Record. Plz Help. Every hindi unicode string turns into ???? in database. please help Rate Topic: -----

#1 User is offline   futureking 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 20-September 12

Posted 03 November 2012 - 10:40 AM

Hi, I am trying to save Unicode Hindi Strings via Yii Active Record. Everthing works fine but in database every hindi character turns into ??????

Please help.
PHP Scripts, Wordpress Themes & Plugins
www.abhinavsoftware.com
0

#2 User is offline   Reza m 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 148
  • Joined: 07-March 12

Posted 03 November 2012 - 12:36 PM

View Postfutureking, on 03 November 2012 - 10:40 AM, said:

Hi, I am trying to save Unicode Hindi Strings via Yii Active Record. Everthing works fine but in database every hindi character turns into ??????

Please help.


did you set database "Character Set" in your db, and "charset" attribute of db component in yii main configration file as utf8?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users