Programaticable method to convert content to UTF-8
This assumes you know the source encoding or can detect it