From 9d882c8dac0becd2e5aa6980c5f3cdc08da04ee3 Mon Sep 17 00:00:00 2001 From: Breno12321 Date: Fri, 14 Jan 2022 10:45:24 -0300 Subject: [PATCH] Fix encoding to work with Cyrillic and Portuguese accentuation (#57) * Fix encoding to work with serilic and portuguese accentiation * Trigger Build --- rjs/helper.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rjs/helper.go b/rjs/helper.go index 7d84237..3f1618c 100644 --- a/rjs/helper.go +++ b/rjs/helper.go @@ -20,9 +20,7 @@ func StringToBytes(lst interface{}) (by []byte) { if !ok { panic("error: something went wrong") } - for _, s := range _lst { - by = append(by, byte(s)) - } + by = []byte(_lst) return }