Convert DOMString from ~[u16] to Vec<u16>