fromUTF8
Syntax
fromUTF8(str, encode)
Arguments
str is a string scalar/vector.
encode is a string indicating the new encoding name. It must use lowercase.
Details
Change the encoding of strings from UTF-8.
For the Windows version, encode can only be “gbk”.
Examples
$ fromUTF8("DolphinDB","gbk");
DolphinDB
$ fromUTF8(["hello","world"],"euc-cn");
["hello","world"]