unicode.inc

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

Версия 1.23.2.2 (checked in on 2007/05/21 at 01:09:21 by drumm)

Константы

ИмяОписание
UNICODE_ERRORIndicates an error during check for PHP unicode support.
UNICODE_MULTIBYTEIndicates that full unicode support with the PHP mbstring extension is being used.
UNICODE_SINGLEBYTEIndicates that standard PHP (emulated) unicode support is being used.

Функции

ИмяОписание
decode_entitiesDecode all HTML entities (including numerical ones) to regular UTF-8 bytes. Double-escaped entities will only be decoded once ('&amp;lt;' becomes '&lt;', not '<').
drupal_convert_to_utf8Конвертирует данные в UTF-8.
drupal_strlen

Возвращает количество символов в строке имеющей кодировку UTF-8. Это кол-во обычно меньше или равно количеству байт.

drupal_strtolowerПреобразовывает UTF-8 строку в нижний регистр.
drupal_strtoupperПреобразовывает UTF-8 строку в верхний регистр.
drupal_substrCut off a piece of a string based on character indices and counts. Follows the same behaviour as PHP's own substr() function.
drupal_ucfirstCapitalize the first letter of a UTF-8 string.
drupal_xml_parser_createPrepare a new XML parser.
mime_header_decodeComplement to mime_header_encode
mime_header_encodeEncodes MIME/HTTP header values that contain non-ASCII, UTF-8 encoded characters.
truncate_utf8Безопасно обрезает кодированную в UTF-8 строку до указанного количества байт.
unicode_checkWrapper around _unicode_check().
unicode_requirementsReturn Unicode library status and errors.
_decode_entitiesHelper function for decode_entities
_mime_header_decodeHelper function to mime_header_decode
_unicode_caseflipHelper function for case conversion of Latin-1. Used for flipping U+C0-U+DE to U+E0-U+FD and back.
_unicode_checkPerform checks about Unicode support in PHP, and set the right settings if needed.
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему