On 07/10/2016 11:17 PM, Adam Sansier wrote:
The problem is things like

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724902(v=vs.85).aspx


require data buffers to be used. I can't just plug in a wstring to it,
can I?

You can't.

`First-chance exception: core.exception.UnicodeException illegal UTF-16
value at src\rt\util\utf.d(400)`

This happens when I call toLower on a wstring trying to lower all the
characters.

Looks like you've got bad data. How did you make the wstring?

Reply via email to