BUG 10958 La funcion PMF GenerateOutputDocuemnt no esta generando el output document SOLVED

- When a html string is in other encoding type doesn't generate the pdf using TCPDF
- Sanitize the html