vs
utf8
is an alias for utf8mb3
. So utf8_bin
is the same as utf8mb3_bin
.{key}
as a template variable placeholder. Thus as far as key
template var is not set, it replaces the placeholder with an empty string. It probably would work like
Code: Select all
el.setAttribute(`${
key
}`, `${attrs[key]}`);
$request->variable()
method needs 3rd argument to be true to handle UTF8 strings. Like
Code: Select all
$config->set('obscurecontactus_subject', $request->variable('obscurecontactus_subject', '', true));