Closed
Description
russian character \u0422 'Т' (capital te) not saved well if it's inside of a string array.
To Reproduce
import "github.com/lib/pq"
...
rows, err := db.Query("SELECT ARRAY ['У, 'Л', 'Т']")
for rows.Next() {
var value pq.StringArray
rows.Scan(&value)
fmt.Println(value)
}
output for cockroachdb> {"У", "Л" ,"\u0422"}
output for postgresql> {"У", "Л", "Т"}
Environment:
- CockroachDB version: 2.0.6
- Client app:
cockroach sql
,golang: pq
Add any other context about the problem here.