mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-15 22:02:51 -06:00
Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dc9f782ba5
commit
4a1c627474
2823 changed files with 619073 additions and 0 deletions
20
uppdev/WString/WString.cpp
Normal file
20
uppdev/WString/WString.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
String q = "Ahoj kamarade";
|
||||
WString w;
|
||||
{
|
||||
TimeStop s;
|
||||
for(int i = 0; i < 10000000; i++)
|
||||
w = ToUnicode(q, CHARSET_WIN1250);
|
||||
RLOG("normal: " << s);
|
||||
}
|
||||
{
|
||||
TimeStop s;
|
||||
for(int i = 0; i < 10000000; i++)
|
||||
w = ToUnicode(q, CHARSET_UTF8);
|
||||
RLOG("utf8: " << s);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue