summaryrefslogtreecommitdiff
path: root/src/tests/utf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/utf.cpp')
-rw-r--r--src/tests/utf.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/utf.cpp b/src/tests/utf.cpp
index 3418e68..923b611 100644
--- a/src/tests/utf.cpp
+++ b/src/tests/utf.cpp
@@ -1,9 +1,15 @@
1#include <bu/file.h> 1#include <bu/file.h>
2#include <bu/string.h> 2#include <bu/string.h>
3#include <bu/utfstring.h> 3#include <bu/utfstring.h>
4#include <bu/sio.h>
5
6using namespace Bu;
4 7
5int main() 8int main()
6{ 9{
10 sio << "Code: " << Bu::__calcHashCode( Bu::UtfString("Hello there") )
11 << sio.nl;
12
7 Bu::File fIn("utf8.in", Bu::File::Read ); 13 Bu::File fIn("utf8.in", Bu::File::Read );
8 Bu::String sUtf8; 14 Bu::String sUtf8;
9 char buf[4096]; 15 char buf[4096];