Force encoding html and text