summaryrefslogtreecommitdiff
path: root/src/HTML5/Parser/UTF8Utils.php
diff options
context:
space:
mode:
authorTechnosophos <[email protected]>2013-04-11 21:45:47 -0500
committerTechnosophos <[email protected]>2013-04-11 21:45:47 -0500
commit40c5ae944365c947fd4a5c2755505ffc745070cd (patch)
tree029e9fa5cdd470acb7316d83fb4030864d7bac18 /src/HTML5/Parser/UTF8Utils.php
parent892335b82e3587fbb96ef4ef62bb1edd16ad636f (diff)
Working on comments.
Diffstat (limited to 'src/HTML5/Parser/UTF8Utils.php')
-rw-r--r--src/HTML5/Parser/UTF8Utils.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/HTML5/Parser/UTF8Utils.php b/src/HTML5/Parser/UTF8Utils.php
index 0d692d1..022d628 100644
--- a/src/HTML5/Parser/UTF8Utils.php
+++ b/src/HTML5/Parser/UTF8Utils.php
@@ -31,6 +31,10 @@ namespace HTML5\Parser;
*/
class UTF8Utils {
/**
+ * The Unicode replacement character..
+ */
+ const FFFD = "\xEF\xBF\xBD";
+ /**
* Count the number of characters in a string.
*
* UTF-8 aware. This will try (in order) iconv,