When I am trying to merge some template with russian text - I get illegal utf chars like "?" in some places.
Error was in OOJMerge.mergeFile when filleng StringBuilder with InputStream contents.
Proposed fix resolves the trouble and works nice for me
Patch to fix illegal utf in output