camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shp (JIRA)" <>
Subject [jira] [Created] (CAMEL-12322) extended characters in post body coming as ?
Date Tue, 06 Mar 2018 06:14:00 GMT
shp created CAMEL-12322:

             Summary: extended characters in post body coming as ?
                 Key: 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).

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

View raw message