AnsweredAssumed Answered

Virtual Tomcat forcing UTF-8

Question asked by bfranke on Oct 24, 2007
Latest reply on Oct 31, 2007 by jcox
Apologies if this has been posted elsewhere, but I did my best to search.
The virtual Tomcat server in Afresco WCM 2.1 seems to be forcing content as UTF-8, even if it has been checked in as something else.
I checked in an HTML file as SHIFT-JIS, but previewing it from the virtual Tomcat garbles on output.

To reproduce, from the content details screen:

View in Browser - GOOD; displays file exactly as checked in
http://localhost:8080/alfresco/d/d/avm/mysite-live/-1;www;avm_webapps;ROOT;corp;tos_shiftjis.html/tos_shiftjis.html

Preview File - NO GOOD; seems to add UTF-8 BOM which garbles file
http://mysite-live.www--sandbox.172-100-100-100.ip.alfrescodemo.net:8180/corp/tos_shiftjis.html

Note that the latter goes through 8180, the virtual Tomcat run by Alfresco.
Hopefully there is some configuration we are missing to avoid this force of UTF-8 encoding?

Outcomes