convert text/plain|html and header values to unicode if needed