Renamed char to wchar convestion function to a more accurate name.