Thanks for that, but I have already searched through Google.
I have found a lot of free windows applications that can convert between rtf, html and pdf. The issue is I need my PHP application to do it for the user, without them needing to use another application to do it. That is why I need to be able to alter the encoding between html and rtf.
I eventually want to convert the rtf file into a pdf as well, from my php application. Any ideas?