I will have a look on it later. But may be the header is set with a different encoding then you/Camel uses (UTF-8 vs. ISO-8859-1)?
Best, Christian Sent from a mobile device Am 01.08.2011 11:43 schrieb "heinrichheine" <[email protected]>: > Hi there, > > i have a simple jetty:http endpoint in my route that receives a http-GET > call. > This call contains a parameter "message". > This parameter can include some german umlauts which are encoded in > URLEncoding. > Example: > url request looks like this: > http://1.2.3.4/?message=Keine+g%FCltige+GPS-Daten%21&otherparam=helloworld > > I've written a Java processor class which reads the message param from the > exchange.in > > String message = exchange.getIn().getHeader("message", String.class); > > Something strange is happening here because the result is "Keine g?ltige > GPS-Daten!". I assume that somewhere in the camel core routines a decoding > takes place. But it's not doing it right. The "?" should be an "ü". > How do i prevent camel to do the decoding of the request parameter? Or how > do i tell camel to do the decoding the correct way? > > Thanks in advance > > martin > > -- > View this message in context: http://camel.465427.n5.nabble.com/Get-raw-string-from-header-without-decosing-tp4654493p4654493.html > Sent from the Camel - Users mailing list archive at Nabble.com.
