Am Dienstag, 17. Oktober 2006 14:06 schrieb Abdelrazak Younes:
> Abdelrazak Younes wrote:
> > Hum, no objection but a more correct fix would have been to convert to 
> > unicode.
> 
> Like the attached. Not the complete port but at least a first step ;-)

That is unfortunately no conversion to unicode. Lars used this construct 
several times, but it is IMO cheating. We should eliminate all occurances 
of

docstring(s.begin(), s.end())

where s is a std::string because this generates garbage for nonlatin1 
input. That may explain the occasional "invalid char sequence" messages 
from iconv.


Georg

Reply via email to