I'm using Spring to retrieve validated object from my form:
@RequestMapping(value = "/doCreate", method = RequestMethod.POST)
public String doCreate(Model model, @Valid Offer offer, BindingResult result) {
System.out.println(offer.getName());
}
The problem is that offer doesn't contain proper utf-8 characters within it.
For example, having żółć entered in field corresponding to offer.name, I end up with żółć running above code.