Javadoc.
Respect charset of file uploads (fixes #242).