Polish marks in database

#1
[eluser]Przemek[/eluser]
Hi i try put polish marks in db but i have problem.
I set via phpmyadmin coding utf8_polish_ci, and i can put them in phpmyadmin no problem and they look ok in phpmyadmin but on web site i have ąąąą.
in CI config file i have setup like that:
Code:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_polish_ci";
What should i change to set it right ??

#2
[eluser]GSV Sleeper Service[/eluser]
try adding this to your html, in the head section
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
also, you may need to set the content type in your web server config

#3
[eluser]davidbehler[/eluser]
Phil and I both wrote articles about that topic:

http://ellislab.com/forums/viewthread/126518/

Maybe that might help you.

#4
[eluser]Przemek[/eluser]
thanks i change php.ini and workks fine


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.