git-svn-id: svn://db.shs.com.ru/pip@911 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-03-06 12:20:12 +00:00
parent 4e03a28a0c
commit a6836b9b97
3 changed files with 38 additions and 33 deletions

View File

@@ -3,19 +3,21 @@
int main() {
//piCout << __sysoemname__;
/*const char * s = "Eng, Русский №!123";
const char * s = "Eng, Русский №!123";
PIString str = PIString::fromUTF8(s);
piCout << str.size() << str;
str.forEach([](PIChar c){piCout << c; return c;});
piCout << str;
piCout << str.toLowerCase();
piCout << str.toUpperCase();
/*str.forEach([](PIChar c){piCout << c; return c;});
PIFile f("1.txt", PIIODevice::ReadWrite);
f.clear();
f << str;*/
f << str;
PIChar c = PIChar::fromUTF8("│");
PIString s = PIString::fromUTF8("│");
piCout << c.unicode16Code() << s[0].unicode16Code();
piCout << c << s;
piCout << c << s << PISystemInfo::machineKey();
PIFile f("1.txt", PIIODevice::ReadWrite);
f.clear();
f << c;
f << c;*/
return 0;
}