[utf8] element index

Package indexes

All elements
a b c o p s t u v
a
top
ascii.php
ascii.php in ascii.php
b
top
bad.php
bad.php in bad.php
c
top
core.php
core.php in core.php
core.php
core.php in core.php
o
top
ord.php
ord.php in ord.php
p
top
patterns.php
patterns.php in patterns.php
position.php
position.php in position.php
s
top
strcasecmp.php
strcasecmp.php in strcasecmp.php
strcspn.php
strcspn.php in strcspn.php
stristr.php
stristr.php in stristr.php
strrev.php
strrev.php in strrev.php
strspn.php
strspn.php in strspn.php
str_ireplace.php
str_ireplace.php in str_ireplace.php
str_pad.php
str_pad.php in str_pad.php
str_split.php
str_split.php in str_split.php
substr_replace.php
substr_replace.php in substr_replace.php
specials.php
specials.php in specials.php
t
top
trim.php
trim.php in trim.php
u
top
utf8.php
utf8.php in utf8.php
UTF8
UTF8 in utf8.php
Put the current directory in this constant
utf8_accents_to_ascii
Replace accented UTF-8 characters by unaccented ASCII-7 "equivalents".
utf8_is_ascii
utf8_is_ascii() in ascii.php
Tests whether a string contains only 7bit ASCII bytes.
utf8_is_ascii_ctrl
Tests whether a string contains only 7bit ASCII bytes with device control codes omitted. The device control codes can be found on the second table here: http://www.w3schools.com/tags/ref_ascii.asp
utf8_strip_ascii_ctrl
Strip out device control codes in the ASCII range
utf8_strip_non_ascii
Strip out all non-7bit ASCII bytes If you need to transmit a string to system which you know can only support 7bit ASCII, you could use this function.
utf8_strip_non_ascii_ctrl
Strip out all non 7bit ASCII bytes and ASCII device control codes.
UTF8_BAD_5OCTET
UTF8_BAD_5OCTET in bad.php
Return code from utf8_bad_identify() when a five octet sequence is detected.
UTF8_BAD_6OCTET
UTF8_BAD_6OCTET in bad.php
Return code from utf8_bad_identify() when a six octet sequence is detected.
utf8_bad_explain
Takes a return code from utf8_bad_identify() are returns a message (in English) explaining what the problem is.
utf8_bad_find
utf8_bad_find() in bad.php
Locates the first bad byte in a UTF-8 string returning it's
utf8_bad_findall
Locates all bad bytes in a UTF-8 string and returns a list of their
utf8_bad_identify
Reports on the type of bad byte found in a UTF-8 string. Returns a
UTF8_BAD_NONSHORT
Return code from utf8_bad_identify().
utf8_bad_replace
Replace bad bytes with an alternative character - ASCII character
UTF8_BAD_SEQID
UTF8_BAD_SEQID in bad.php
Return code from utf8_bad_identify().
UTF8_BAD_SEQINCOMPLETE
Return code from utf8_bad_identify().
utf8_bad_strip
utf8_bad_strip() in bad.php
Strips out any bad bytes from a UTF-8 string and returns the rest
UTF8_BAD_SURROGATE
Return code from utf8_bad_identify().
UTF8_BAD_UNIOUTRANGE
Return code from utf8_bad_identify().
utf8_byte_position
utf8_byte_position() in position.php
Given a string and a character index in the string, in
utf8_locate_current_chr
Given a string and any byte index, returns the byte index
utf8_locate_next_chr
utf8_locate_next_chr() in position.php
Given a string and any byte index, returns the byte index of the start of the next UTF-8 character, relative to supplied position. If the next character begins at the same place as the supplied byte index, that byte index will be returned.
ucfirst.php
ucfirst.php in ucfirst.php
ucwords.php
ucwords.php in ucwords.php
UTF8_CORE
UTF8_CORE in core.php
Define UTF8_CORE as required
utf8_ireplace
utf8_ireplace() in str_ireplace.php
UTF-8 aware alternative to str_ireplace
utf8_ltrim
utf8_ltrim() in trim.php
UTF-8 aware replacement for ltrim()
utf8_ord
utf8_ord() in ord.php
UTF-8 aware alternative to ord
utf8_rtrim
utf8_rtrim() in trim.php
UTF-8 aware replacement for rtrim()
utf8_strcasecmp
utf8_strcasecmp() in strcasecmp.php
UTF-8 aware alternative to strcasecmp
utf8_strcspn
utf8_strcspn() in strcspn.php
UTF-8 aware alternative to strcspn
utf8_stristr
utf8_stristr() in stristr.php
UTF-8 aware alternative to stristr
utf8_strlen
utf8_strlen() in core.php
Unicode aware replacement for strlen(). Returns the number
utf8_strpos
utf8_strpos() in core.php
UTF-8 aware alternative to strpos
utf8_strrev
utf8_strrev() in strrev.php
UTF-8 aware alternative to strrev
utf8_strrpos
utf8_strrpos() in core.php
UTF-8 aware alternative to strrpos
utf8_strspn
utf8_strspn() in strspn.php
UTF-8 aware alternative to strspn
utf8_strtolower
utf8_strtolower() in core.php
UTF-8 aware alternative to strtolower
utf8_strtoupper
utf8_strtoupper() in core.php
UTF-8 aware alternative to strtoupper
utf8_str_pad
utf8_str_pad() in str_pad.php
Replacement for str_pad. $padStr may contain multi-byte characters.
utf8_str_split
utf8_str_split() in str_split.php
UTF-8 aware alternative to str_split
utf8_substr
utf8_substr() in core.php
UTF-8 aware alternative to substr Return part of a string given character offset (and optionally length)
utf8_substr_replace
utf8_substr_replace() in substr_replace.php
UTF-8 aware substr_replace.
utf8_trim
utf8_trim() in trim.php
UTF-8 aware replacement for trim()
utf8_ucfirst
utf8_ucfirst() in ucfirst.php
UTF-8 aware alternative to ucfirst
utf8_ucwords
utf8_ucwords() in ucwords.php
UTF-8 aware alternative to ucwords
utf8_ucwords_callback
Callback function for preg_replace_callback call in utf8_ucwords
unicode.php
unicode.php in unicode.php
utf8_from_unicode
utf8_from_unicode() in unicode.php
Takes an array of ints representing the Unicode characters and returns a UTF-8 string. Astral planes are supported ie. the ints in the input can be > 0xFFFF. Occurrances of the BOM are ignored. Surrogates are not allowed.
utf8_to_unicode
utf8_to_unicode() in unicode.php
Takes an UTF-8 string and returns an array of ints representing the Unicode characters. Astral planes are supported ie. the ints in the output can be > 0xFFFF. Occurrances of the BOM are ignored. Surrogates are not allowed.
utf8_is_word_chars
utf8_is_word_chars() in specials.php
Checks a string for whether it contains only word characters. This
utf8_specials_pattern
utf8_specials_pattern() in specials.php
Used internally. Builds a PCRE pattern from the $UTF8_SPECIAL_CHARS
utf8_strip_specials
utf8_strip_specials() in specials.php
Removes special characters (nonalphanumeric) from a UTF-8 string
utf8_compliant
utf8_compliant() in validation.php
Tests whether a string complies as UTF-8. This will be much
utf8_is_valid
utf8_is_valid() in validation.php
Tests a string as to whether it's valid UTF-8 and supported by the
v
top
validation.php
validation.php in validation.php
a b c o p s t u v