Added validation of utf8 string, replacing invalid sequencies to "?"