первый

This commit is contained in:
2024-11-01 12:23:13 +05:00
parent 801d9d33fa
commit 0688c46a7e
226 changed files with 162921 additions and 0 deletions

11
lib/ascii.h Normal file
View File

@ -0,0 +1,11 @@
#include <string>
std::wstring fromKAZASCII(const std::string str);
std::string toKAZASCII(const std::wstring str);
//http://www.programva.com/ru/html-kody-tablicy-simvoly-kodirovka/CP866
//http://www.celitel.info/klad/tabsim.htm
std::string fromDOStoASCII(const std::string str); //<2F><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
std::string fromASCIItoDOS(const std::string str); //<2F><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>