[utf8] element index

Package indexes

All elements
a b c o p s t u v
a
top
Page ascii.php
ascii.php in ascii.php
b
top
Page bad.php
bad.php in bad.php
c
top
Page core.php
core.php in core.php
Page core.php
core.php in core.php
o
top
Page ord.php
ord.php in ord.php
p
top
Page patterns.php
patterns.php in patterns.php
Page position.php
position.php in position.php
s
top
Page strcasecmp.php
strcasecmp.php in strcasecmp.php
Page strcspn.php
strcspn.php in strcspn.php
Page stristr.php
stristr.php in stristr.php
Page strrev.php
strrev.php in strrev.php
Page strspn.php
strspn.php in strspn.php
Page str_ireplace.php
str_ireplace.php in str_ireplace.php
Page str_pad.php
str_pad.php in str_pad.php
Page str_split.php
str_split.php in str_split.php
Page substr_replace.php
substr_replace.php in substr_replace.php
Page specials.php
specials.php in specials.php
t
top
Page trim.php
trim.php in trim.php
u
top
Page utf8.php
utf8.php in utf8.php
Constant UTF8
UTF8 in utf8.php
Put the current directory in this constant
Function utf8_accents_to_ascii
Replace accented UTF-8 characters by unaccented ASCII-7 "equivalents".
Function utf8_is_ascii
utf8_is_ascii() in ascii.php
Tests whether a string contains only 7bit ASCII bytes.
Function 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
Function utf8_strip_ascii_ctrl
Strip out device control codes in the ASCII range
Function 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.
Function utf8_strip_non_ascii_ctrl
Strip out all non 7bit ASCII bytes and ASCII device control codes.
Constant UTF8_BAD_5OCTET
UTF8_BAD_5OCTET in bad.php
Return code from utf8_bad_identify() when a five octet sequence is detected.
Constant UTF8_BAD_6OCTET
UTF8_BAD_6OCTET in bad.php
Return code from utf8_bad_identify() when a six octet sequence is detected.
Function utf8_bad_explain
Takes a return code from utf8_bad_identify() are returns a message (in English) explaining what the problem is.
Function utf8_bad_find
utf8_bad_find() in bad.php
Locates the first bad byte in a UTF-8 string returning it's
Function utf8_bad_findall
Locates all bad bytes in a UTF-8 string and returns a list of their
Function utf8_bad_identify
Reports on the type of bad byte found in a UTF-8 string. Returns a
Constant UTF8_BAD_NONSHORT
Return code from utf8_bad_identify().
Function utf8_bad_replace
Replace bad bytes with an alternative character - ASCII character
Constant UTF8_BAD_SEQID
UTF8_BAD_SEQID in bad.php
Return code from utf8_bad_identify().
Constant UTF8_BAD_SEQINCOMPLETE
Return code from utf8_bad_identify().
Function utf8_bad_strip
utf8_bad_strip() in bad.php
Strips out any bad bytes from a UTF-8 string and returns the rest
Constant UTF8_BAD_SURROGATE
Return code from utf8_bad_identify().
Constant UTF8_BAD_UNIOUTRANGE
Return code from utf8_bad_identify().
Function utf8_byte_position
utf8_byte_position() in position.php
Given a string and a character index in the string, in
Function utf8_locate_current_chr
Given a string and any byte index, returns the byte index
Function 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.
Page ucfirst.php
ucfirst.php in ucfirst.php
Page ucwords.php
ucwords.php in ucwords.php
Constant UTF8_CORE
UTF8_CORE in core.php
Define UTF8_CORE as required
Function utf8_ireplace
utf8_ireplace() in str_ireplace.php
UTF-8 aware alternative to str_ireplace
Function utf8_ltrim
utf8_ltrim() in trim.php
UTF-8 aware replacement for ltrim()
Function utf8_ord
utf8_ord() in ord.php
UTF-8 aware alternative to ord
Function utf8_rtrim
utf8_rtrim() in trim.php
UTF-8 aware replacement for rtrim()
Function utf8_strcasecmp
utf8_strcasecmp() in strcasecmp.php
UTF-8 aware alternative to strcasecmp
Function utf8_strcspn
utf8_strcspn() in strcspn.php
UTF-8 aware alternative to strcspn
Function utf8_stristr
utf8_stristr() in stristr.php
UTF-8 aware alternative to stristr
Function utf8_strlen
utf8_strlen() in core.php
Wrapper round mb_strlen
Function utf8_strpos
utf8_strpos() in core.php
Assumes mbstring internal encoding is set to UTF-8
Function utf8_strrev
utf8_strrev() in strrev.php
UTF-8 aware alternative to strrev
Function utf8_strrpos
utf8_strrpos() in core.php
Assumes mbstring internal encoding is set to UTF-8
Function utf8_strspn
utf8_strspn() in strspn.php
UTF-8 aware alternative to strspn
Function utf8_strtolower
utf8_strtolower() in core.php
Assumes mbstring internal encoding is set to UTF-8
Function utf8_strtoupper
utf8_strtoupper() in core.php
Assumes mbstring internal encoding is set to UTF-8
Function utf8_str_pad
utf8_str_pad() in str_pad.php
Replacement for str_pad. $padStr may contain multi-byte characters.
Function utf8_str_split
utf8_str_split() in str_split.php
UTF-8 aware alternative to str_split
Function utf8_substr
utf8_substr() in core.php
Assumes mbstring internal encoding is set to UTF-8
Function utf8_substr_replace
utf8_substr_replace() in substr_replace.php
UTF-8 aware substr_replace.
Function utf8_trim
utf8_trim() in trim.php
UTF-8 aware replacement for trim()
Function utf8_ucfirst
utf8_ucfirst() in ucfirst.php
UTF-8 aware alternative to ucfirst
Function utf8_ucwords
utf8_ucwords() in ucwords.php
UTF-8 aware alternative to ucwords
Function utf8_ucwords_callback
Callback function for preg_replace_callback call in utf8_ucwords
Page unicode.php
unicode.php in unicode.php
Function 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.
Function 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.
Function utf8_is_word_chars
utf8_is_word_chars() in specials.php
Checks a string for whether it contains only word characters. This
Function utf8_specials_pattern
utf8_specials_pattern() in specials.php
Used internally. Builds a PCRE pattern from the $UTF8_SPECIAL_CHARS
Function utf8_strip_specials
utf8_strip_specials() in specials.php
Removes special characters (nonalphanumeric) from a UTF-8 string
Function utf8_compliant
utf8_compliant() in validation.php
Tests whether a string complies as UTF-8. This will be much
Function 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
Page validation.php
validation.php in validation.php
a b c o p s t u v