[Support] Correctly handle zero length inputs to UTF conversion functions on Windows.