This is exactly right. UTF-8 is the transmission format that your HTML gets sent in, but it is not the format of strings in JavaScript at runtime.
The problem being discussed is about runtime interoperability between JS (with WTF-16 string format) and WebAssembly.