bug-mumi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type.


From: Felix Lechner
Subject: bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type.
Date: Sun, 12 May 2024 21:37:41 -0700

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]