Can you add a test if <code>request.getHeader("Accept-charset")</code> returns <code>null</code>?