UTF8 conversion implementation for Windows.