`utf8::encode($$data_ref) if defined($$data_ref) && utf8::is_utf8($$data_ref);`