--- a/src/utils/utf8iter.h
+++ b/src/utils/utf8iter.h
@@ -1,6 +1,6 @@
#ifndef _UTF8ITER_H_INCLUDED_
#define _UTF8ITER_H_INCLUDED_
-/* @(#$Id: utf8iter.h,v 1.3 2005-03-17 14:02:06 dockes Exp $ (C) 2004 J.F.Dockes */
+/* @(#$Id: utf8iter.h,v 1.4 2005-12-07 15:41:50 dockes Exp $ (C) 2004 J.F.Dockes */
/**
* A small helper class to iterate over utf8 strings. This is not an
@@ -137,7 +137,7 @@
}
operator string() {
if (bad || (!cl && compute_cl() < 0)) {
- return false;
+ return std::string("");
}
return s.substr(pos, cl);
}