Unicode.h 295 B

1234567891011121314
  1. #pragma once
  2. #if defined(_WIN32)
  3. #include <c10/util/Exception.h>
  4. #include <c10/util/win32-headers.h>
  5. #include <string>
  6. #endif
  7. namespace c10 {
  8. #if defined(_WIN32)
  9. C10_API std::wstring u8u16(const std::string& str);
  10. C10_API std::string u16u8(const std::wstring& wstr);
  11. #endif
  12. } // namespace c10