]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Response.php
Merge pull request #12459 from MrPetovan/bug/12454-link-preview-translation
[friendica.git] / src / Module / Response.php
index f9d46da83b7c03679b188df009cb0f90075e5262..ba7d4320271d275ed108a1a7d1167fa85139418a 100644 (file)
@@ -97,7 +97,7 @@ class Response implements ICanCreateResponses
 
                switch ($type) {
                        case static::TYPE_HTML:
-                               $content_type = $content_type ?? 'text/html';
+                               $content_type = $content_type ?? 'text/html; charset=utf-8';
                                break;
                        case static::TYPE_JSON:
                                $content_type = $content_type ?? 'application/json';