Hi,

I'm using ServiceMix to write a component for a search engine. I have a
collecton of UTF8 encoded XML files containing various European languages.
However, when I return results to the user, I get things like this:

<Title>Meñiquín Charles Perrault ; traducción de Teodoro Baró</Title>

instead of:

<Title>Meñiquín Charles Perrault ; traducción de Teodoro Baró</Title>

The results are unreadable. I've checked the input files, and they are all
correct and readable. I've checked the output from the search engine that I
am calling (this is outside ServiceMix), and that is also correct and
readable.

There is a lot of logging in my code, and the output from that also has the
correct characters in it. At this point we are within ServiceMix, and
everything seems to be fine. However, once the results are sent out of the
HTTP-SU, I get these incorrectly encoded results.

The search engine uses stubs to call another, non-servicemix web service,
then processes and repackages the results in a JSR-181 service unit. The
methods in the JSR181-SU are invoked via web service calls through a
HTTP-SU. 

It looks as though there is an encoding problem at the point after the
results are returned from the JSR181 service unit. Is there a configuration
option in the HTTP-SU that I need to change to enable unicode? Is this a
bug?

Thanks,

Phil

-- 
View this message in context: 
http://www.nabble.com/Encoding-problem-in-text-returned-by-HTTP-SU-tf4676140s12049.html#a13360244
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to