Source for file utf8_specials.test.php
Documentation is available at utf8_specials.test.php
* @version $Id: utf8_specials.test.php,v 1.1 2007/09/09 20:39:50 pitlinz Exp $
//--------------------------------------------------------------------
require_once(dirname(__FILE__
).
'/../config.php');
require_once UTF8 .
'/utils/unicode.php';
require_once UTF8 .
'/utils/specials.php';
//--------------------------------------------------------------------
$this->UnitTestCase('test_utf8_is_word_chars()');
chr(0xe0 |
(0x2234 >>
12)) .
chr(0x80 |
((0x2234 >>
6) & 0x003f)) .
chr(0x80 |
(0x2234 & 0x003f)) .
//--------------------------------------------------------------------
$this->UnitTestCase('test_utf8_strip_specials()');
chr(0xe0 |
(0x2234 >>
12)) .
chr(0x80 |
((0x2234 >>
6) & 0x003f)) .
chr(0x80 |
(0x2234 & 0x003f)) .
//--------------------------------------------------------------------
$test =
&new GroupTest('utf8_ascii');
Documentation generated on Thu, 08 Jan 2009 17:49:16 +0100 by phpDocumentor 1.4.0a2