#include "wx/chartype.h"
#include "wx/stringimpl.h"
#include "wx/unichar.h"
+#include "wx/buffer.h"
// This header contains wxStringOperations "namespace" class that implements
// elementary operations on string data as static methods; wxString methods and
struct WXDLLIMPEXP_BASE wxStringOperationsUtf8
{
// checks correctness of UTF-8 sequence
- static bool IsValidUtf8String(const char *c);
+ static bool IsValidUtf8String(const char *c,
+ size_t len = wxStringImpl::npos);
#ifdef __WXDEBUG__
static bool IsValidUtf8LeadByte(unsigned char c);
#endif