This will make logging depended on client settting,

I can register my interceptor, which will set charset to utf-8, if there is
no other possibility



2017-03-29 20:11 GMT+04:00 Sergey Beryozkin <[email protected]>:

> 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