https://bz.apache.org/bugzilla/show_bug.cgi?id=63985
Bug ID: 63985
Summary: Tomcat 9 does not read UTF-8 files with no bom
correctly
Product: Tomcat 9
Version: 9.0.x
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
Very simple to reproduce on windows 10 or windows server 2012 (Not tested on
Linux).
2 identical html files saved with as UTF-8 files one with BOM, one with no BOM.
tomcat 9 started with -Dfile.encoding=UTF-8 (also tested with
-Dfile.encoding=UTF8)
If the files are served by Apache, they are both correct. If the file with no
BOM is read by Tomcat 9, it is obviously converted but served as UTF-8,
resulting with accents wrongly displayed on all browsers. No problem with the
file saved with BOM.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]