Il giorno giovedì 17 maggio 2018 04:57:48 UTC+2, Raulino Neto ha scritto:
>
> Hello Guys, I have to convert a Json to a UTF_16LE and byte array for sign 
> a rsa key, someone have idea that how I can do it? Thanks regards.
>

For encoding UTF-8 to UTF-16LE see:
https://godoc.org/golang.org/x/text/encoding/unicode

And here is the first example I found on google:
https://stackoverflow.com/questions/32518432/how-to-convert-from-an-encoding-to-utf-8-in-go


Manlio 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to