Jürgen Spitzmüller wrote:

The solution (and what the patch does) is to flush the stream by passing a NULL input to inconv at the very end of the conversion process. This procedure is adviced by the iconv maintainer (B. Haible), e.g. in this bugzilla report which oulines the problem very clearly:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1124

HOWEVER, I'm no iconv or encoding expert, and this is a change in a very sensitive area, so please have a look and tell me if my analysis makes sense.

It makes perfect sense to me and Mr Haible states that quite clearly.

Abdel.

Reply via email to