mimeEntityGetTextCharset

SYNOPSIS

varchar mimeEntityGetTextCharset(mimeEntity entityOrReader)

Parameters:

  • entityOrReader - A mimeEntity or mimeReader object

Returns:

  • varchar charset of mimeEntityGetText return data


DESCRIPTION
The mimeEntityGetTextCharset function returns the charset of the data returned by mimeEntityGetText, or empty string if unknown. If the entity body's source charset was recognized and supported during formatting, the text charset will generally be UTF-8.


EXAMPLE

<$ret = (mimeEntityGetTextCharset($reader))>
  Charset of text of entity: $ret
  <$ret = (mimeEntityGetText($reader))>
  Text of entity: $ret


SEE ALSO
mimeEntityGetText


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.