After installing pagetopdf I tried it on my wiki (with accents) and the pdf was bad encoded. I tried to add "charset utf-8" in the htmldoc exec statement, then tried it in command line and then, discovered that HTMLDoc does not support UTF-8. That's a shame. The filter may be change but I did not find any.