Hi

Can you set a 'charset' Content-Type parameter ?

Thanks, Sergey
On 29/03/17 05:40, Vjacheslav V. Borisov wrote:
Hi!

Currently cxf (3.1.10) runtime sets default message encoding, if not
specified by client, to
ISO-8859-1

        String encoding = (String)message.get(Message.ENCODING);
        if (StringUtils.isEmpty(encoding)) { // this is never working
            encoding = StandardCharsets.UTF_8.name();
        }


Logging feature (cxf:logging and
org.apache.cxf.ext.logging.LoggingFeature)  use this setting to log inbound
request,
and i cannot see UTF-8 characters

How to fix this?


Reply via email to