Skip to content

Commit 2cf6d2a

Browse files
committed
fix: #100 #142 #115 unicode characters show problem
1 parent 5807d5d commit 2cf6d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/handlers/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func processUnicode(msg string) string {
6060
r, _ := regexp.Compile(`\\u`)
6161
s = r.ReplaceAllString(s, "")
6262
i, _ := strconv.ParseInt(s, 16, 32)
63-
return strconv.Itoa(int(i))
63+
return string(rune(i))
6464
})
6565
}
6666

0 commit comments

Comments
 (0)