You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2018/03/06 07:04:00 UTC

[jira] [Resolved] (CAMEL-12322) extended characters in post body coming as ?

     [ https://issues.apache.org/jira/browse/CAMEL-12322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-12322.
--------------------------------------
    Resolution: Invalid

Please ask on users mailing list first

> extended characters in post body coming as ?
> --------------------------------------------
>
>                 Key: CAMEL-12322
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12322
>             Project: Camel
>          Issue Type: Bug
>            Reporter: shp
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> (Camel 2.14.1 version)
> We are trying to pass extended characters like Testáí©¥æ£ in post body request(via SoapUI). But in the logger or debug mode we could see Test???. We tried to pass UTF-8, ISO-8859-1 charset to convertBodyTo but no luck. When we pass content-type as ISO-8859-1 in the SoapUI header, could see HEX representation of special symbols(TestxE1xEDxA9xA5xE6xA3) but JSON was throwing exception "com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 middle byte 0xed". Also we could see difference in the getBytes().length (standalone application: 16 and via rest api: 7).
> Note:
> When we hit ST(Linux OS) url, we could see extended characters in NetMon and hex value in Wireshark. But when we hit dev/local url(Windows OS), extended characters represented as ?.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)