Running the following command (using the attached file as input) produces an output that is identical to the input, except that the accented character, and the character following the accented character are missing.
tv_imdb --imdbdir imdbdir --movies-only utf8.xml --output utf8.output.xml
The problem is that $prog is decoded but if augmentProgram returns undef, then $prog is not re-encoded before being written to file.
Patch
good patch, thanks for this.
patch merged into source repo.