--- C:/Documents and Settings/bdragon/Local Settings/Temp/TCV46715.tmp/filter_example.1.8.module Sun Jan 13 13:09:51 2008 +++ C:/drupal/docs/HEAD/examples/filter_example.module Sun Jan 13 13:10:00 2008 @@ -125,15 +125,18 @@ // is to use the "prepare" operation to escape the special characters, and // to later replace our escaped version in the "process" step. // - // We'll use the bytes 0xFE and 0xFF to replace < and > here. These bytes - // are not valid in UTF-8 data and thus unlikely to cause problems. + // We'll use the unicode characters U+F8FF and U+F8FE (Private use + // characters) to replace < and > here. These characters are reserved + // by the Unicode standard for internal use in software. + // These characters are represented by the byte sequences \xEF\xA3\xBF and + // \xEF\xA3\xBE. case 'prepare': - return preg_replace('!