before wchar_t migrating