We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
utf8 = require('dot-utf8'); utf8String = utf8.encode( jsString );
Encodes a JavaScript native string (UCS-2) into UTF-8.
UTF-8 bytes encoded into a JavaScript string, with bytes represented as code units from 0x00 to 0xFF.
Return to API documentation