unicode.inc
Version 1.17.2.1 (checked in on 2006/10/18 at 20:14:42 by killes)
Constants
| Name | Description |
|---|---|
| UNICODE_ERROR | |
| UNICODE_MULTIBYTE | |
| UNICODE_SINGLEBYTE |
Functions
| Name | Description |
|---|---|
| decode_entities | Decode all HTML entities (including numerical ones) to regular UTF-8 bytes. Double-escaped entities will only be decoded once ("&lt;" becomes "<", not "<"). |
| drupal_convert_to_utf8 | Convert data to UTF-8 |
| drupal_strlen | Count the amount of characters in a UTF-8 string. This is less than or equal to the byte count. |
| drupal_strtolower | Lowercase a UTF-8 string. |
| drupal_strtoupper | Uppercase a UTF-8 string. |
| drupal_substr | Cut off a piece of a string based on character indices and counts. Follows the same behaviour as PHP's own substr() function. |
| drupal_ucfirst | Capitalize the first letter of a UTF-8 string. |
| drupal_xml_parser_create | Prepare a new XML parser. |
| mime_header_decode | Complement to mime_header_encode |
| mime_header_encode | Encodes MIME/HTTP header values that contain non-ASCII, UTF-8 encoded characters. |
| truncate_utf8 | Truncate a UTF-8-encoded string safely to a number of bytes. |
| unicode_check | Wrapper around _unicode_check(). |
| unicode_settings | Return the required Unicode status and errors for admin/settings. |
| _decode_entities | Helper function for decode_entities |
| _mime_header_decode | Helper function to mime_header_decode |
| _unicode_caseflip | Helper function for case conversion of Latin-1. Used for flipping U+C0-U+DE to U+E0-U+FD and back. |
| _unicode_check | Perform checks about Unicode support in PHP, and set the right settings if needed. |
