Hi guys, I am merging two silverstripe databases, which has gone smoothly except for the Content fields.
The content fields have special characters like maori macrons.
In the database I am importing they are all fine and macron looking, but when I try and import these pages into the new database the macrons look like this
M?ri
I then did all the content manually but they needed to have links etc updated in the content hence the update below.
DB::query('UPDATE ' . $name . ' SET ' . $field . '=\'' . $content . '\' where ID = ' . $page->ID);
Silverstripe is mutating this content before it puts it back?. Ay help here would be appreciated