code: func decodeText(src []byte, from Encoding) string {
  	if from.Equals(EncodingUTF8) {
  		return string(src)
  	}
  
  	fromXEncoding := resolveXEncoding(src, from)
  	result, err := fromXEncoding.Decoder().Bytes(src)
  	if err != nil {
  		return string(src)
  	}
  	return string(result)
  }
docs: // decodeText decodes src from "from" encoding to UTF-8.