Hi,

I'm using the RAP webservice api to create blogs and users in roller
4.0-rc8.  When I post requests with parameters that contained multi-byte
characters, roller interprets them using the default charset of the jvm,
regardless of the encoding set in the xml message or the encoding used
by the posting agent.

This problem goes away and "extended" characters are correctly
interpreted by the RAP webservice when I add the following jvm
parameters:

 file.encoding=UTF-8
 javax.servlet.request.encoding=UTF-8

Using tomcat the easiest way to do this is to add the following
environment variable:

 JAVA_OPTS="-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8"

I didn't see this discussed in the manual or wiki so I figured I could
at least post it here for general consumption. Any reason this isn't
mentioned in the installation manual? Perhaps some gotcha that I've
overlooked?

Feedback will be appreciated! 

Thanks!
-- 
Fredrik Jonson

Reply via email to