diff --git a/api/src/Etemplate/Widget/Placeholder.php b/api/src/Etemplate/Widget/Placeholder.php index 776cff0c01..b164c8700f 100644 --- a/api/src/Etemplate/Widget/Placeholder.php +++ b/api/src/Etemplate/Widget/Placeholder.php @@ -129,7 +129,7 @@ class Placeholder extends Etemplate\Widget $entry = ['id' => $GLOBALS['egw_info']['user']['person_id']]; // fall through default: - $merged = $merge->merge_string($content, [$entry['id']], $err, 'text/plain', null, 'utf8'); + $merged = $merge->merge_string($content, [$entry['id']], $err, 'text/plain', null, 'utf-8'); } $response = Api\Json\Response::get(); $response->data($merged);