No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Encoding.cpp 321B

123456789101112131415161718192021222324
  1. #include "il2cpp-config.h"
  2. #if IL2CPP_TARGET_WINDOWS
  3. #include "WindowsHelpers.H"
  4. #include "os/Encoding.h"
  5. namespace il2cpp
  6. {
  7. namespace os
  8. {
  9. namespace Encoding
  10. {
  11. std::string GetCharSet()
  12. {
  13. static char buf[14];
  14. sprintf(buf, "CP%u", GetACP());
  15. return std::string(buf);
  16. }
  17. }
  18. }
  19. }
  20. #endif