Subject: [PATCH] Use lowercase utf-8 for charset in Content-Type.
From: Felix Lechner <[email-masked]>
To: [email-masked]
Cc: Felix Lechner <[email-masked]>
Date: Sun, 12 May 2024 21:37:41 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

The standard is case-insensitive, but the world is moving to
lowercase.  See comments here:

    https://stackoverflow.com/questions/10888929/should-html-meta-charset-be-lowercase-or-uppercase

A preview of this code is live at patchwise.org.
---
 mumi/web/view/html.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 2275799..3172af6 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -56,7 +56,7 @@
     (html (@ (lang "en"))
      (head
       (title ,title)
-      (meta (@ (http-equiv "Content-Type") (content "text/html; charset=UTF-8")))
+      (meta (@ (http-equiv "Content-Type") (content "text/html; charset=utf-8")))
       (meta (@ (name "author") (content "Ricardo Wurmus")))
       (meta (@ (name "viewport")
                (content "width=device-width, initial-scale=1")))

base-commit: 99416ed5c7d950eaf54d52023a2efd975bccac92
-- 
2.41.0