mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-31 22:02:58 -06:00
Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2582d7f364
commit
3cd394812c
3860 changed files with 1161787 additions and 438 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