3 ms·
Like a CPU ISA, the WASM abstract machine doesn't have a concept of strings or encoding. It's just bytes in a linear memory. You implement whatever encoding you
by epcoa 2y ago
Like a CPU ISA, the WASM abstract machine doesn't have a concept of strings or encoding. It's just bytes in a linear memory. You implement whatever encoding you want.
WASM specifies UTF-8 for the encoding of names in its file formats, but that doesn't involve the runtime VM.