improve utf8 related stuff

This commit is contained in:
unK
2008-10-07 15:40:06 +02:00
parent a85cfcd8eb
commit c6fea611bf
4 changed files with 75 additions and 34 deletions

View File

@@ -130,7 +130,9 @@ class Window
static Coordinates IntoCoordinates(const string &);
static bool IsValidColor(const string &);
static string OmitBBCodes(const string &);
static int RealLength(const string &);
static size_t RealLength(const string &);
static size_t Length(const string &s) { return Length(ToWString(s)); }
static size_t Length(const wstring &);
protected:
virtual void Recreate();