Add wchar conversion on non-Windows.
Merge pull request #244 from unknownbrackets/utf8

Add wchar conversion on non-Windows