00:13
<sideshowbarker>
zcorpan: Or actually, not just lowercase but case-insensitive for the standard Shift_JIS — also (case-insensitive) shift-jis
00:14
<sideshowbarker>
Context is https://github.com/thelounge/thelounge/pull/4951#discussion_r1912529404
09:33
<Noam Rosenthal>
Do you have a REGEXP handy? I checked "<meta[^>]+(charset|content)="shift[_-]jis"" on response bodies in November, got 1333 out of 672M
10:59
<sideshowbarker>
That regexp looks right
11:01
<sideshowbarker>
I guess the lowercase shift_jis is relatively rare. Maybe a Shift_JIS query would return a lot more hits
11:32
<Noam Rosenthal>
SELECT COUNT(*) FROM httparchive.response_bodies.2024_11_01_desktop WHERE REGEXP_CONTAINS(response_body, "<meta[^>]+(charset|content)=\"SHIFT[_-]JIS\"")
returned 32
12:34
<sideshowbarker>
Thanks — how about just Shift_JIS (that is, Shift rather than SHIFT)
13:09
<Noam Rosenthal>
With ignore-case it's 3769
13:09
<sideshowbarker>
Thanks much!
14:20
<smaug>
Hmm, what is the odd white box (when using dark mode) in the warning here: https://html.spec.whatwg.org/#interaction-with-details-and-hidden=until-found
14:23
<Luke Warlow>
It's an image of a fingerprint as a link to somewhere. Bit odd it covers content though. Probably needs a darkmode-aware class adding to the img.
14:56
<zcorpan>
Origin-Agent-Cluster. See the "otherwise" steps in the spec