22 lines
550 B
C++
22 lines
550 B
C++
#include "pip.h"
|
|
|
|
|
|
int main() {
|
|
//piCout << __sysoemname__;
|
|
/*const char * s = "Eng, Русский №!123";
|
|
PIString str = PIString::fromUTF8(s);
|
|
piCout << str.size() << str;
|
|
str.forEach([](PIChar c){piCout << c; return c;});
|
|
PIFile f("1.txt", PIIODevice::ReadWrite);
|
|
f.clear();
|
|
f << str;*/
|
|
PIChar c = PIChar::fromUTF8("│");
|
|
PIString s = PIString::fromUTF8("│");
|
|
piCout << c.unicode16Code() << s[0].unicode16Code();
|
|
piCout << c << s;
|
|
PIFile f("1.txt", PIIODevice::ReadWrite);
|
|
f.clear();
|
|
f << c;
|
|
return 0;
|
|
}
|