<?php utf8_encode(string $string): string
<?php protected function fieldtype($request) { $config = json_decode(utf8_encode(base64_decode($request->config)), true); return Fieldtype::find($config['type'])->setField( new Field('relationship', $config)