Start a new topic

utf16 to utf8

 Is there any method can convert utf16 to utf8?

1 Comment

DuoCode Runtime doesn't provide such methods.

Have a look at the following link and these methods:


function encode_utf8( s ) {
  return unescape( encodeURIComponent( s ) );

function decode_utf8( s ) {
  return decodeURIComponent( escape( s ) );


Hopes this help.

Login or Signup to post a comment