Using redis-cli, I add data in Cyrillic to the redis queue, if using redis-cli to get the queue data, we will see "\xaf\xe0\xae\xa1\xa0"
.
In GO
msg, _ := redis.String(R.conn.Do("LPOP", key))
result
How can I get the Cyrillic alphabet? I tried it
encoder := charmap.MacintoshCyrillic.NewDecoder() // Windows1251 to
s, _ := encoder.String(msg)
fmt.Print(s)
it didn't work