Author: Frederik Holljen
Date: 2006-09-23 08:01:56 +0200 (Sat, 23 Sep 2006)
New Revision: 3545
Log:
- Improved doc
Modified:
trunk/Mail/src/parts/text.php
Modified: trunk/Mail/src/parts/text.php
===================================================================
--- trunk/Mail/src/parts/text.php 2006-09-22 20:14:34 UTC (rev 3544)
+++ trunk/Mail/src/parts/text.php 2006-09-23 06:01:56 UTC (rev 3545)
@@ -27,7 +27,7 @@
* while creating mail, and is always 'utf-8' while parsing mail.
* @property string $originalCharset
* The characterset in which a text part originally was before the
- * conversion to UTF-8. (readonly)
+ * conversion to UTF-8 when parsing incomming mail. (readonly)
* @property string $subType
* The subtype of this text part. Defaults to 'plain' for plain text.
* Use 'html' for HTML messages.
@@ -51,9 +51,13 @@
/**
* Constructs a new TextPart with the given $text, $charset and $encoding.
*
+ * OriginalCharset is only used when parsing mail. Parsed mail will always
be converted to UTF-8
+ * in this case $originalCharset will holds the charset before it was
converted.
+ *
* @param string $text
* @param string $charset
* @param int $encoding
+ * @param string $originalCharset
*/
public function __construct( $text, $charset = "us-ascii", $encoding =
ezcMail::EIGHT_BIT, $originalCharset = 'us-ascii' )
{
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components