Function __global->_will_be_successfully_unicode_neutered
Definitions
sources/character_sets.php
- Guard for before calling entity_utf8_decode.Checks that the data can be stripped so there is no unicode left. Either the htmlentities function must convert mechanically to entity-characters or all higher ascii character codes (which are actually unicode control codes in a unicode interpretation) that are used happen to be linked to named entities.PHP's utf-8 support may not be great. For example, we have seen emoji characters not converting.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $data | string | No | No | required parameter | N/A | N/A | Data to check |
Returns
- Whether we are good to execute entity_utf8_decode
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Guard for before calling entity_utf8_decode.Checks that the data can be stripped so there is no unicode left. Either the htmlentities function must convert mechanically to entity-characters or all higher ascii character codes (which are actually unicode control codes in a unicode interpretation) that are used happen to be linked to named entities.PHP's utf-8 support may not be great. For example, we have seen emoji characters not converting.
*
* @param string $data Data to check
* @return boolean Whether we are good to execute entity_utf8_decode
*/
function _will_be_successfully_unicode_neutered(string $data) : bool
* Guard for before calling entity_utf8_decode.Checks that the data can be stripped so there is no unicode left. Either the htmlentities function must convert mechanically to entity-characters or all higher ascii character codes (which are actually unicode control codes in a unicode interpretation) that are used happen to be linked to named entities.PHP's utf-8 support may not be great. For example, we have seen emoji characters not converting.
*
* @param string $data Data to check
* @return boolean Whether we are good to execute entity_utf8_decode
*/
function _will_be_successfully_unicode_neutered(string $data) : bool

