On Sun, Oct 14, 2007 at 04:26:50PM +0200, Jürgen Spitzmüller wrote:

> Uwe Stöhr wrote:
> >  > This is wrong. String processing must not be done with utf8 encoded
> >  > strings. It can fail in many ways, for example url.length() may not be
> >  > equal to the number of characters.
> >
> > But I don't use a .length() call to avoid this.
> 
> This cries for future bugs. Please change to docstring.

And I also suggest a reading of lstrings.h in order to avoid reinventing
the wheel (hint: we already have contains() and subst() methods).

-- 
Enrico

Reply via email to