Hi all,
I've been trying to add FCKEditor to a Struts 2 application but failing as browsers bump into the BOM at the beginning of the Javascript files. After some investigations, I found that the FCKEditor JavaScript files are encoded in UTF-8 but the application always returns ISO-8859-1, so the BOM is not properly handled by the browser. This behavior disappears when I removed the Struts filter dispatcher (action2): the JS files are returned as UTF-8 files and the browser handles the BOM correctly. So it seems the filter dispatcher transforms the encoding for all files (if configured with /* in web.xml), which can cause problem with UTF-8 and BOM. Is there any way to exclude some files from the filtering ? Thanks, Arnaud