Both json.Unmarshal and strconv.Unquote seem to handle this fine: https://play.golang.org/p/mexmJNGQyh
//jb > On 28 Dec 2016, at 15:03, JohnGB <jgbeck...@gmail.com> wrote: > > I tried this with a variety of messages, and it doesn't work with most > unicode escaped string. For example, the unicode escaped string > '\u044d\u0442\u043e \u0442\u0435\u0441\u0442 > \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435' should unescape to > 'это тест сообщение' but it unescapes to 'MB> B5AB A>>1I5=85' instead. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.