API17:JString::valid
From Joomla! Documentation
JString::valid
Description
Tests a string as to whether it's valid UTF-8 and supported by the Unicode standard Note: this function has been modified to simple return true or false.
public static function valid ($str)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $str | string | UTF-8 encoded string |
See also
JString::valid source code on BitBucket
Class JString
Subpackage Utilities- Other versions of JString::valid
User contributed notes
Code Examples