On Wednesday 27 December 2006 22:44, Michael Gerz wrote:

> For what reason may iconv fail? Doesn't this indicate an internal error?

Not only. It could also fail if somebody writes some japanese words in a 
german document without changing thelanguage. Then LyX will try to convert 
the hebrew characters from utf8 to latin1, and that fails of course.
Another case could be that the requested conversion is not supported by the 
iconv implementation.
I am not sure whether there are other cases.

> How about adding assertion?

That will not work in the cases described above, we should give an error 
message instead.


Georg

Reply via email to