monaco-editor
monaco-editor copied to clipboard
Couldn't read UTF-16 LE string
monaco-editor version: 0.10.0 Browser: Chrome OS: OSX Steps or JS usage snippet reproducing the issue:
When I set value to monaco editor, if the string is UTF16LE encoded, then there will be some unreadable things in monaco.

@zanecat Encoding is something you need to deal with before you create a JavaScript string. i.e. you would have the same problem if you would use a simple <textarea> to display your data.
Yep I noticed that it's my issue, sorry for this.