I tried to solve the problem, mostly using re.escape() instead using re.sub(' ', '\ ', See the diff file for details....
** Patch added: "patch which will convert the previous chm file" https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/500262/+attachment/2623899/+files/chm2pdf_specialchars.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/500262 Title: Errors if file name contains escaped special characters (space, parenthesis etc) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/500262/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs