encodes body in provided charset

[``* `#17327` Internal error in description for umlauts``](https://community.openproject.org/work_packages/17327)