shp created CAMEL-12322:
---------------------------

             Summary: 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


(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)

Reply via email to