Encodings have a name, and one or more labels.
More...
|
static string | getEncodingFromLabel (string $label) |
| Names and labels.
|
|
static bool | isKnownEncodingName (string $name) |
|
static | dump () |
| Developer-only: generated the encoding name and labels table from the machine-readable data included in the encodings spec.
|
|
Encodings have a name, and one or more labels.
- See also
- https://encoding.spec.whatwg.org/#name
◆ getEncodingFromLabel()
static string Wikimedia\Dodo\Internal\Encoding::getEncodingFromLabel |
( |
string | $label | ) |
|
|
static |
◆ isKnownEncodingName()
static bool Wikimedia\Dodo\Internal\Encoding::isKnownEncodingName |
( |
string | $name | ) |
|
|
static |
- Parameters
-
- Returns
- bool True iff the given string is a known encoding name.
The documentation for this class was generated from the following file:
- src/Internal/Encoding.php