Closed shalamai closed 2 years ago
UPD:
i debugged a bit and found out that grpculr is fine. the library grpcdynamic
from protoreflect that you use to make the actual grpc call here returns wrong response
will debug that library. seem like the issue is there
found the issue in protoreflect: https://github.com/jhump/protoreflect/issues/480
fixed
hey, i experienced a weird bug i get wrong response if map key contains non-ascii character
steps to reproduce:
write grpc server with such endpoint:
it returns a map e.g.
a key of the map contains a non ascii character (character which is represented via more than one byte in utf-8) e.g. ❤ https://unicode-table.com/en/2764/
expected response (i get it when i call it with other grpc libraries)
actual response
p.s.
\342\235\244
is an octal representation of ❤ https://unicode-table.com/en/2764/