From da642482dee91921fc16786208aa497d3ee31d94 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 24 Aug 2012 18:15:11 +0000 Subject: Adding new Bu::Settings system, which works more or less like QSettings from Qt, only...without qt. It's the first real system in libbu++ that is going to be all unicode, which is exciting, but I'm having to actually finish the Bu::UtfString class while I work on it. Also exciting. --- src/tests/utf.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tests/utf.cpp') 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 @@ #include #include #include +#include + +using namespace Bu; int main() { + sio << "Code: " << Bu::__calcHashCode( Bu::UtfString("Hello there") ) + << sio.nl; + Bu::File fIn("utf8.in", Bu::File::Read ); Bu::String sUtf8; char buf[4096]; -- cgit v1.2.3