• Evan Wallace's avatar
    Add UTF-8 support to the JavaScript API · 4bef5e89
    Evan Wallace authored
    This adds an optional argument to generated getters for string fields to
    specify the encoding type and overloads the createString() function. It's
    now possible to use either JavaScript UTF-16 string objects or C-style
    UTF-8 byte arrays (Uint8Array) for string data.
    4bef5e89
JavaScriptTest.js 11 KB