Query: mb_check_encoding
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MB_CHECK_ENCODING(3) 1 MB_CHECK_ENCODING(3) mb_check_encoding - Check if the string is valid for the specified encodingSYNOPSISbool mb_check_encoding NULL ([string $var], [string $encoding = mb_internal_encoding()])DESCRIPTIONChecks if the specified byte stream is valid for the specified encoding. It is useful to prevent so-called "Invalid Encoding Attack".PARAMETERSo $var - The byte stream to check. If it is omitted, this function checks all the input from the beginning of the request. o $encoding - The expected encoding.RETURN VALUESReturns TRUE on success or FALSE on failure. PHP Documentation Group MB_CHECK_ENCODING(3)
Related Man Pages |
---|
mb_strripos(3) - php |
mb_strrichr(3) - php |
mb_strrpos(3) - php |
mb_strpos(3) - php |
px_set_targetencoding(3) - php |
Similar Topics in the Unix Linux Community |
---|
Forum Video Tutorial: How to Use Code Tags |
UNIX.COM 2017 Year End Summary |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Please Welcome Don Cragun as Lead Moderator |