unicode.inc

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

Версия 1.29 (checked in on 2007/12/28 at 12:02:50 by dries)

Константы

ИмяОписание
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_strlenCount the amount of characters in a UTF-8 string. This is less than or equal to the byte count.
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 behavior as PHP's own substr() function.
drupal_truncate_bytesTruncate a UTF-8-encoded string safely to a number of bytes.
drupal_ucfirstДелает прописным первый символ строки UTF-8.
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_entitiesВспомогательная функция для 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.
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

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