Added conversion for wchar_t