From 776d7fbbd997863cbb24b354d0b88143ce2888b2 Mon Sep 17 00:00:00 2001 From: fumiama Date: Thu, 28 Oct 2021 21:06:39 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E5=B0=8F=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_b14/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_b14/main.go b/plugin_b14/main.go index 438e9e10..db346495 100644 --- a/plugin_b14/main.go +++ b/plugin_b14/main.go @@ -20,7 +20,7 @@ func init() { str := ctx.State["regex_matched"].([]string)[1] es, err := base14.UTF16be2utf8(base14.EncodeString(str)) if err == nil { - ctx.SendChain(message.Text(es)) + ctx.SendChain(message.Text(helper.BytesToString(es))) } else { ctx.SendChain(message.Text("加密失败!")) }