Chris Jölly
Mon, 16 Apr 2007 09:55:07 -0700
Hello!
i want to set the input encoding of the webapp using 2.3.2 to something other
then
US-ASCII.
the parameter input.encoding from TurbineResources.properties is completely
ignored.
so i looked at the code and debugged the Turbine.configure method to see whats
happening. at the line around:
// Initialize the service manager. Services
// that have its 'earlyInit' property set to
// a value of 'true' will be started when
// the service manager is initialized.
getServiceManager().init();
// Get the default input encoding
inputEncoding = configuration.getString(
TurbineConstants.PARAMETER_ENCODING_KEY,
TurbineConstants.PARAMETER_ENCODING_DEFAULT);
there are 'strange' things happening. the line setting the inputEncoding is
never executed,
therefore the inputEncoding remains null. During a Turbine.doGet() call if the
request has
no character encoding set Turbine wants to set the encoding to null which
results in an
exception...
now my questions is: how can i set the character encoding in turbine 2.3.2?
thx.
Mit freundlichen Grüßen / Kind regards, ________________________________ Chris Jölly Unycom Information Technology Services GmbH Solutions for Intellectual Property Management Schmiedlstrasse 1 / III, 8042 Graz / Austria Tel.: +43-316-818 828-30 Fax: +43-316-818 818-38 E-Mail: [EMAIL PROTECTED] Web: <blocked::http://www.unycom.com/> www.unycom.com Firmenbuch Nr: FN 203321b / LG Graz UID Nr.: ATU 50837803 ________________________________