Some colunms of the the result set are array buffers when the type of it is varchar(n) . I try to convert it with iconv-lite and I found that the chinese charactars are converted correctly with utf16 decoding but the english charactars are mistaken under utf16. When decoding with utf8, the english charactars are correct but the chinese ones are mistaken. Is it possible to obtain string directly from your query api?
Some colunms of the the result set are array buffers when the type of it is varchar(n) . I try to convert it with iconv-lite and I found that the chinese charactars are converted correctly with utf16 decoding but the english charactars are mistaken under utf16. When decoding with utf8, the english charactars are correct but the chinese ones are mistaken. Is it possible to obtain string directly from your query api?