Code Monkeyism

Programming is hard by Stephan Schmidt

Problems with Jersey, REST, JSON and UTF-8 [Update2]

I’ve written about my UTF-8 woes with Jersey. Digging through the code of Jersey hasn’t resulted in any clues yet. I’m still not sure how to set an UTF-8 content header for HTTP with Jersey. Other impression from the code: no JavaDoc. Usually not a good sign. I’ll keep you updated on my progress through Jersey code depths.

About the author: Stephan Schmidt is currently a team manager at ImmobilienScout24 in Berlin. Stephan has been working as a head of development and CTO. He has used a lot of different technologies in the last 20 years including Java, Rails and Python. Stephans main field of interest is maintainablity and productivity in software development. Want to know more? All views are only his own.

If you did like this article but you don't want to subscribe to new articles with your reader, you can follow me on Twitter or subscribe to new posts with your email:

Comments

Funny. my team is currently doing a lot with utf-8, with jersey, and extjs for javascript i8ln support.
I believe we got around some of the issues by setting the response content type to text/html.
I am going to forward them this blog and they should comment on their solutions.

stephan

Thanks, that would be great. I’ve got a reply from Paul, see the comments on the other, and I hope the issue is resolved with Jersey 0.7.

Leave a Reply