850176300

Results 3 issues of 850176300

在lua侧调用UnityWebRequest请求第三方tts文字转音频的接口,获取到bytes数组,结果DownloadHanderBuffer里的data从byte[]转string,变成了空字符串。在C#侧用相同的逻辑请求可以获取正确的数据,看到byte数组以多个0开头,会不会是底层C++从char*转string的时候遇到'\0'就结束了,导致转出来的string不对,也无法还原成byte[],有没有什么方案可以规避这个问题呢 local params = { text=text, nd_lang="zh-CHS", ent="intp65", aue="raw", sfl="1", auf="audio/L16;rate=8000", vcn=realVoice, speed=speed, volume=volume, pitch=pitch, reg="2", } cs_coroutine.start(function() local data = json.encode(params); cast(CS.System.Text.Encoding.UTF8, typeof(CS.System.Text.Encoding)) local raw = CS.System.Text.Encoding.UTF8:GetBytes(data); local request...

# github.com/oikomi/FishChatServer/monitor/controllers controllers/main_controller.go:27: c.TplNames undefined (type *MainController has no field or method TplNames) controllers/monitor_controller.go:49: this.ServeJson undefined (type *MonitorController has no field or method ServeJson) 编译过程报这个错误不知道怎么解决,不知道能不能帮我看一下呢

master分支的代码拉下来直接运行Control 工程,在输入框粘贴韩文发现显示的是乱码,日文、泰语这些显示是正常的。不过还有一些不常见的其他国家的文字显示不正确。用腾讯版本的duilib版本发现显示是正常的,不知道是字体设置的区别还是其他原因导致的,工程都是unicode环境,麻烦给一点意见呢