I have set this collation in database.php and same in database:
$db[‘default’][‘dbcollat’] = ‘latin1_german2_ci’;
When i insert a german characters it is saved in database as:
Three Burials - Die drei Begr?bnisse des Melquiades Estrada
But it should be:
Three Burials - Die drei Begräbnisse des Melquiades Estrada
my query:
$this->db->insert('table',array('title' => $this->input->post('title')));
How can i solve this issue? Thanks for help.
Set collation everywhere to
utf8,utf8_general_cias well as your page encoding and charset.There is practically no reason to use anything else, otherwise than maniacally optimizing storage efficiency.