After several hours having problems with serialized object with spanish texts in it, finally this function I found in magp.ie worked like a charm:
function mb_unserialize($string) { $string =…