Welcome Guest, Not a member yet? Register   Sign In
utf-8 support
#1

[eluser]introvert[/eluser]
Hi,

Does CodeIgniter 2.0 have native support for UTF-8 with forms?

It appears that it won't save // pass UTF-8 encoded data betwen client - server on post.

Should I override the default forms with Elliot Haugin hacks?

Thanks for help
#2

[eluser]introvert[/eluser]
Bump?!
#3

[eluser]WanWizard[/eluser]
What do you mean by 'forms'?

Your application's pages will be in utf-8 if you save the view files in utf-8, you've set the content-type of the page to utf-8, and you've made sure the webserver doesn't touch it (some apache configs override the content-type header, by default to iso-8859-1).
Your database configuration determines if data is saved and retrieved in utf-8.

CI doesn't come into play in these area's...
#4

[eluser]InsiteFX[/eluser]
.htaccess
Code:
<ifModule mod_php5.c>
    php_value default_charset utf-8
</ifModule>

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB