ByteZ
01/26/2022, 4:17 PMcall.receive<ByteArray>().toString(Charsets.UTF_8)
?
I'm aware that call.receiveText()
exists but we had some encoding issues after receiving a request containing a "Fullwidth Colon" (U+FF1A).Aleksei Tirman [JB]
01/27/2022, 10:44 AMByteZ
01/27/2022, 8:17 PMAleksei Tirman [JB]
01/28/2022, 9:12 AMContent-Type
header, the assumed content encoding is Charsets.ISO_8859_1
. Here is the issue about it https://youtrack.jetbrains.com/issue/KTOR-789.ByteZ
01/28/2022, 4:26 PMcall.receiveText(charset: Charset)
would be easier?Aleksei Tirman [JB]
01/28/2022, 6:44 PMcharset
parameter is a good option but the implementation isn't going be easy.ByteZ
01/28/2022, 8:26 PM