X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bigscreen%2Fwidestring.h;h=1e4f9a2640cd2cd09d35af5b84cbdc5fd96f2f6a;hb=92cf5ad4caee6d0fe35a23107a451797d502707d;hp=86113ffff80e7bd9bea7787b50cb0e888be76df4;hpb=f94b331787d71fbf9fa1b1084a52a2b1c79903d9;p=ccbs diff --git a/bigscreen/widestring.h b/bigscreen/widestring.h index 86113ff..1e4f9a2 100644 --- a/bigscreen/widestring.h +++ b/bigscreen/widestring.h @@ -2,7 +2,7 @@ #define _WIDESTRING_H 1 #include -#include "pqxx/util.hxx" +#include // UCS-4 string with support for getting from UTF-8 class widestring : public std::wstring @@ -13,6 +13,7 @@ public: widestring(const std::string &from); widestring(const std::wstring &from); void operator= (const char *from); + std::string to_utf8() const; }; namespace pqxx