SproutCMS

This is the code documentation for the SproutCMS project

file /sprout/core/utf8.php

View source


Classes

utf8

A port of phputf8 to a unified file/class. Checks PHP status to ensure that
UTF-8 support is available and normalize global variables to UTF-8. It also
provides multi-byte aware replacement string functions.

This file is licensed differently from the rest of Kohana. As a port of
phputf8, which is LGPL software, this file is released under the LGPL.

PCRE needs to be compiled with UTF-8 support (--enable-utf8).
Support for Unicode properties is highly recommended (--enable-unicode-properties).