Also accept "; charset=UTF-8" in the content-type
Update parsing. Also encoding :locale is deprectaed now