File: includes/utf/utf_tools.php
Unmodified
Added
Modified
Removed
Line 22 | Line 22 |
---|
setlocale(LC_CTYPE, 'C');
/**
|
setlocale(LC_CTYPE, 'C');
/**
|
* Setup the UTF-8 portability layer
| * UTF-8 portability layer is provided by * symfony/polyfill-mbstring, symfony/polyfill-intl-normalizer, symfony/polyfill-php72
|
*/
|
*/
|
Patchwork\Utf8\Bootup::initUtf8Encode(); Patchwork\Utf8\Bootup::initMbstring(); Patchwork\Utf8\Bootup::initIntl();
| |
/** * UTF-8 tools
| /** * UTF-8 tools
|
Line 171 | Line 169 |
---|
* Make a string's first character uppercase * * @author Harry Fuecks
|
* Make a string's first character uppercase * * @author Harry Fuecks
|
* @param string
| * @param string $str
|
* @return string with first character as upper case (if applicable) */ function utf8_ucfirst($str)
| * @return string with first character as upper case (if applicable) */ function utf8_ucfirst($str)
|