Skip to content

Commit

Permalink
Fix encoding to work with Cyrillic and Portuguese accentuation (#57)
Browse files Browse the repository at this point in the history
* Fix encoding to work with serilic and portuguese accentiation

* Trigger Build
  • Loading branch information
breno12321 authored Jan 14, 2022
1 parent d51ac5e commit 9d882c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rjs/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9d882c8

Please sign in to comment.