You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Hessian2 standard, the string should be UTF8 encoded. However, UTF16 string is used by the Java. And when the dubbo-hessian-lite encoding the string, every UTF16 char is treated as one UTF8 char which is wrong.
Considering that most of dubbo users using dubbo-hessian-lite, we should try to provide the similar support for compatibility, even it's wrong.
The text was updated successfully, but these errors were encountered:
wbpcode
changed the title
UTF16 string encoding support
string encoding/decoding is imcompatible with dubbo-hessian-lite for four char > 0xFFFF
Jul 29, 2023
According to the Hessian2 standard, the string should be UTF8 encoded. However, UTF16 string is used by the Java. And when the
dubbo-hessian-lite
encoding the string, every UTF16 char is treated as one UTF8 char which is wrong.Considering that most of dubbo users using
dubbo-hessian-lite
, we should try to provide the similar support for compatibility, even it's wrong.The text was updated successfully, but these errors were encountered: