Tested on a RHL 8.0 system with sv_SE.UTF-8 locale. The dates in the default apache error pages seem to be encoded wrongly. They seem to be encoded in UTF-8 although the page source specifies that the page is in iso-8859-1. Hence, web browsers will show the date improperly. I'm attaching a screenshot that shows the problem.
Created attachment 90700 [details] Screenshot that shows the wrong encoding
If you put LANG=C in /etc/sysconfig/httpd and restart httpd, does that fix the problem? (or just LC_TIME=C)
LANG=C just gives the date in English (which is not what is wanted as the rest of the error page is shown in proper Swedish) and LC_TIME=C just gives the same as before (garbled Swedish).
Hmmm, yes; a more general statement of the problem is that the date formatting for the error pages is done in the locale of the server thread, rather than the content-language of the error page. This is non-trivial to fix, to say the least. I think the best thing to do in the medium term is to simply remove the date from the error pages. Thanks for the report.
The dates have now been removed from the error pages.