Welcome Guest, Not a member yet? Register   Sign In
cant store arabic text in mysql !
#1

[eluser]3m masr[/eluser]
hi everyone ,

i am using codeigniter and trying to store arabic text in my mysql database results in question marks ????? instead of the text i stored in arabic .. i wanna know if any changes should be made in the db or the form i use ( i am using the scaffolding by the way ) .. any help will be strongly appreciated !
#2

[eluser]abada[/eluser]
hi 3m masr

be sure the db encoding is utf-8

it work with me Smile
#3

[eluser]3m masr[/eluser]
thanks man
i had to change the fields encoding to utf8_general_ci
and put an encoding instruction using html in index.php
#4

[eluser]abada[/eluser]
good luck my friend Smile




Theme © iAndrew 2016 - Forum software by © MyBB