* bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type.
@ 2024-05-13 4:37 Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
2024-06-03 17:39 ` Arun Isaac
0 siblings, 1 reply; 2+ messages in thread
From: Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi. @ 2024-05-13 4:37 UTC (permalink / raw)
To: 70905; +Cc: Felix Lechner
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type.
2024-05-13 4:37 bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
@ 2024-06-03 17:39 ` Arun Isaac
0 siblings, 0 replies; 2+ messages in thread
From: Arun Isaac @ 2024-06-03 17:39 UTC (permalink / raw)
To: 70905-done; +Cc: Felix Lechner
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-03 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13 4:37 bug#70905: [PATCH] Use lowercase utf-8 for charset in Content-Type Felix Lechner via Bug-mumi via Bug reports for GNU Guix Mumi.
2024-06-03 17:39 ` Arun Isaac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).