Better unicode/string conversion

In pdfs all special characters showed up as ?, views always return unicode so I encode that to an utf-8 string so pisa will also show the characters correctly.