Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


RestEasy @POST with hebrew

Dan Berke
  • Dan Berke
    Dan Berke

    Hello all,

    I have been working with rest-easy for a while and it's great!!!

    I encountered with a problem while submitting to a  @POST method Hebrew characters:
    public void getAdvancesSearchResults(@Context HttpServletRequest req,
    @Context HttpServletResponse resp, @Context UriInfo uriInfo,
    @FormParam("freeText")  String freeText,

    the request is a simple form which holds a freeText form param.
    while reaching the the post method the Hebrew String becomes unreadable, while when trying this with English it works fine.

    When I run the same request against a @GET method it work fine with Hebrew but I need to use a @POST.

    Please help me,