support wchar_t string.