CodeIgniter Forums
Arabic And MySQL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Arabic And MySQL (/showthread.php?tid=33921)



Arabic And MySQL - El Forum - 09-13-2010

[eluser]Arbtimes[/eluser]
hello
i try to add info to my database

and my data in arabic
but i cant add it Sad
i thing the problem from Character

can any bade help me?


Arabic And MySQL - El Forum - 09-13-2010

[eluser]InsiteFX[/eluser]
Did you set your database fields to utf-8?
Did you set your database collation to utf8_unicode_ci?

Did you set the database.php config to use utf8_unicode_ci?

Also when creating a new database with phpmyadmin you need to
goto the operations tab and then change the database to use
utf8_unicode_ci

Without seeing any code it is hard to see what is going on!

InsiteFX


Arabic And MySQL - El Forum - 09-13-2010

[eluser]Arbtimes[/eluser]
my database have this
'ãÎÊÕ Èßá ÇãæÑ ÇáãäÇåÌ æÇáÏÑæÓ ÇáÊÚáíãíÉ Ýí ÌãíÚ ÇÞØÇÑ ÇáæØä ÇáÚÑÈí'

i went my new script use this data


Arabic And MySQL - El Forum - 09-13-2010

[eluser]Arbtimes[/eluser]
please help me ....!!!!


Arabic And MySQL - El Forum - 09-17-2010

[eluser]Arbtimes[/eluser]
................!!!!


Arabic And MySQL - El Forum - 03-21-2011

[eluser]Blaze Boy[/eluser]
Arbtimes : how did you solve that ?
i'm checking all Arabic problems with codeigniter to enhance my application with internationalized controllers.


Arabic And MySQL - El Forum - 03-23-2011

[eluser]Unknown[/eluser]
Change charset using QSqlDatabase:ConfusedetConnectOptions() during connection establishment to Arabic. Should work.