java - Spring - UTF-8 characters in object hydrated from forms -
i'm using spring
retrieve validated object form:
@requestmapping(value = "/docreate", method = requestmethod.post) public string docreate(model model, @valid offer offer, bindingresult result) { system.out.println(offer.getname()); }
the problem offer
doesn't contain proper utf-8
characters within it.
for example, having żółć
entered in field corresponding offer.name
, end żółć
running above code.
Comments
Post a Comment