On Tue, Nov 20, 2018 at 11:43 AM, Alex Dvoretskiy
<advoretski...@gmail.com> wrote:
>
> Yes, it's encoded in UCS-2, UTF-16.
>
> Should I just change encoding to UTF-8?

Yes.

> What if I can't change encoding?

One approach is to use
https://godoc.org/golang.org/x/text/encoding/unicode with
https://godoc.org/golang.org/x/text/encoding .

Ian

-- 
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.

Reply via email to