I have made a form to store some information in database instead of executing query each time. The input is non-English font, Bengali in this case. I have used the following code for taking input:
<textarea name="content" id="content" rows="20" cols="50" accept-charset="UTF-8">
As not Latin font I have used the accept-charset="UTF-8" part to store data. but it doesn't work. I have also tried applying the portion in form tag like this:
<form name="submit_form" id="submit_form" method="post" accept-charset="UTF-8">
But whenever I post something from the form there are garbage value like
খন আসমà§
What could be the problem? I have also specified utf-8 in charset for database. I am using codeigniter framework.