robin
04/12/2019, 11:12 AMpost("/reflect") {
call.respondText(call.receiveText().also(::println))
}
When I send a request with special characters in it like this:
POST <http://localhost:8080/reflect>
Content-Type: text/plain
ÄÖÜäöüßẞ
It comes out as a jumbled mess:
ÃÃÃäöüÃáº
And it get's printed to the console exactly like that as well, so the problem has to be on the receiving side, not the sending side.
I'm not sure where to start looking what is going wrong here.Jonathan Mew
04/12/2019, 11:17 AMdiesieben07
04/12/2019, 11:17 AMkt
file is not in UTF-8.robin
04/12/2019, 11:22 AMrobin
04/12/2019, 11:23 AMrobin
04/12/2019, 11:31 AMJonathan Mew
04/12/2019, 11:33 AM