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

Previous Next

Package: mumi;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Mon, 13 May 2024 04:38:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70905 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-mumi <at> gnu.org:
bug#70905; Package mumi. (Mon, 13 May 2024 04:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Lechner <felix.lechner <at> lease-up.com>:
New bug report received and forwarded. Copy sent to bug-mumi <at> gnu.org. (Mon, 13 May 2024 04:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: bug-mumi <at> gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [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





This bug report was last modified 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.