Welcome Guest, Not a member yet? Register   Sign In
Diacritical marks are truncated via Active Record
#1

(This post was last modified: 11-24-2014, 08:22 AM by marksalvatore.)

A string containing a diacritical mark (ex, "Erlösten"), is getting truncated to "Erl" when stored in the database via Active Record.

     $values['name'] = "Erlösten";
     $this->db->insert($this->_table, $values);

will store the 'name' value as "Erl".
The 'name' field in the database is set as varchar(100) with encoding set to  'UTF-8 Unicode'.

Is there a configuration setting I've overlooked?
Reply


Messages In This Thread
Diacritical marks are truncated via Active Record - by marksalvatore - 11-24-2014, 05:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB