Added missing GetPadHtml version (with revision support).

Also in this change, Encoding fixes for UTF-8 characters.