Re: Setting charset in Content-Type header with relayd and httpd

2019-10-29 Thread Bertalan Zoltán Péter
Hello, Hiltjo Posthuma [2019-10-29 23:15:56 +0100]: > You can actually do it in httpd.conf. > > This will give a syntax error (httpd -n): > > "text/plain; charset=utf-8" txt > > Using quoting will work: > > "text"/"plain; charset=utf-8" txt Thank you, this indeed works,

Re: Setting charset in Content-Type header with relayd and httpd

2019-10-29 Thread Hiltjo Posthuma
On Tue, Oct 29, 2019 at 08:41:54PM +0100, Bertalan Zoltán Péter wrote: > Hello, > > I have a working httpd server behind a relayd reverse proxy. > > Recently I wanted to host some simple text files in a directory that > contained UTF-8 characters. Unfortunately, I noticed that when opened > from

Setting charset in Content-Type header with relayd and httpd

2019-10-29 Thread Bertalan Zoltán Péter
Hello, I have a working httpd server behind a relayd reverse proxy. Recently I wanted to host some simple text files in a directory that contained UTF-8 characters. Unfortunately, I noticed that when opened from a browser, say iridium, these documents render with incorrect encoding and are