You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/05/16 07:50:02 UTC

[GitHub] [dubbo-go-hessian2] AlexStocks commented on pull request #188: Perf decode string

AlexStocks commented on pull request #188:
URL: https://github.com/apache/dubbo-go-hessian2/pull/188#issuecomment-629604592


   > > this PR will let the hessian only support at most three bytes length utf8, while four bytes mathematical symbols, and emoji will not supprted. even more the max length of a utf8 character can be six. And the worst is the length of string in hessian definition is the length of A 16-bit unicode character string encoded in UTF-8.
   > > ref
   > > 
   > > * https://en.wikipedia.org/wiki/UTF-8
   > > * http://hessian.caucho.com/doc/hessian-serialization.html##string
   > > * #131
   > >   @wongoo
   > >   Any Suggestions for fixing it? I've tried parsing 4-byte utf-8 before, but Java doesn't write 4-byte utf-8
   
   maybe u can set an issue for dubbo hessian2.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org