Source for file 1.php
Documentation is available at 1.php
header('content-type: text/html; charset=utf-8');
# Require the main "loader" script...
require_once '../../utf8.php';
# UTF8 constant can now be used for directory
# Follow functions automatically available;
# utf8_strlen, utf8_strpos, utf8_strrpos, utf8_substr,
# utf8_strtolower, utf8_strtoupper
$str =
'Iñtërnâtiônàlizætiøn';
print
"String is: $str<br>\n";
# Check it's a well formed UTF-8 string
require_once UTF8 .
'/utils/validation.php';
print
"It's well formed UTF-8<br>\n";
print
"It's badly formed UTF-8 - this shouldn't happen<br>\n";
# Load an additional function;
require_once UTF8 .
'/strrev.php';
Documentation generated on Thu, 08 Jan 2009 17:37:27 +0100 by phpDocumentor 1.4.0a2