This routine puts UTF8 data into a wstring, decoding as it goes. It assumes the encoding is correct, which is okay for my purposes
It\'s not originally my code, i got