Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 13:39, Konstantin Preißer wrote: > Hi Mark, > >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Sunday, July 30, 2017 12:40 PM >> >> (...) >> >>> Stuff breaking is unintentional and is a bug. Unfortunately, it appears >>> that you have stumbled

RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
Hi Mark, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Sunday, July 30, 2017 12:40 PM > > (...) > > > Stuff breaking is unintentional and is a bug. Unfortunately, it appears > > that you have stumbled across a bug that wasn't detected in any of the > > last

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 10:50, Mark Thomas wrote: > On 30/07/17 10:21, Rémy Maucherat wrote: >> On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer >> wrote: >>> I honestly don't understand that change. As a web developer, I expect a >>> web server to serve static files exactly

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 10:21, Rémy Maucherat wrote: > On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer > wrote: > >> Hi Mark, >> >>> -Original Message- >>> From: Mark Thomas [mailto:ma...@apache.org] >>> Sent: Saturday, July 29, 2017 2:56 PM >>> (...) Why

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Rémy Maucherat
On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer wrote: > Hi Mark, > > > -Original Message- > > From: Mark Thomas [mailto:ma...@apache.org] > > Sent: Saturday, July 29, 2017 2:56 PM > > > >> (...) > >> > > >Why would Tomcat want to modify static files, instead

RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
Hi Mark, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Saturday, July 29, 2017 2:56 PM > >> (...) >> > >Why would Tomcat want to modify static files, instead of just serving > >them as-is? > > Because Tomcat now checks the response encoding and the file

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-29 Thread Mark Thomas
On 28 July 2017 21:53:27 BST, "Konstantin Preißer" wrote: >Hi all, > >after quite a while I'm reporting back here, because I faced a problem >after updating to Tomcat 8.5.19: Suddenly, static text files (.txt, .js >etc.) encoded with UTF-8 (without BOM) are getting corrupted