Closed labyte closed 2 years ago
How did you implement IPipelineFilter
How did you implement IPipelineFilter or PipelineFilterBase? Please refer to TerminatorTextPipelineFilter, you should be able to write your own Decoder and DecodePackage method.
好的,谢谢,我再看下
I forgot that the protocol and command are alternative things, since you choose to use command, it should be another story.
@kerryjiang , we might need to make property JsonSerializerOptions can be set
commit 05d180048c70e9472508d55b8b610533eee35cc6 Author: Kerry Jiang kerry-jiang@hotmail.com Date: Wed Apr 29 21:20:08 2020 -0700
fixed the bug which causes the JsonCommand cannot work
@AByte-L Then the encoding should be set as mentioned in How to customize character encoding with System.Text.Json
@AByte-L Maybe you can share a sample repository for me to test
@kerryjiang,我们可能需要让属性JsonSerializerOptions可以设置
提交05d1800 作者:姜凯瑞 kerry-jiang@hotmail.com 日期:Wed Apr 29 21:20:08 2020 -0700
fixed the bug which causes the JsonCommand cannot work
@AByte-L 然后应该按照如何使用 System.Text.Json 自定义字符编码中所述设置编码
@AByte-L 也许您可以共享一个示例存储库供我测试
发现问题是我客户端发送的时候没使用UTF-8编码....,改了就好了.
大佬,在使用JsonAsyncCommand这个的时候,中文不支持啊,在哪里可以设置吗?