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.

23 lines
521 B

12 months ago
  1. #pragma once
  2. #include <fstream>
  3. #include <functional>
  4. #include <iostream>
  5. #include <list>
  6. #include <map>
  7. #include <memory>
  8. #include <set>
  9. #include <sstream>
  10. #include <string>
  11. #include <vector>
  12. namespace iflytop {
  13. using namespace std;
  14. class ZIconv {
  15. private:
  16. /* data */
  17. public:
  18. static string utf8_to_gb2312(const string& utf8_str);
  19. static string toGB2312(const string& utf8_str) { return utf8_to_gb2312(utf8_str); }
  20. static string noChange(const string& utf8_str) { return utf8_str; }
  21. };
  22. } // namespace iflytop