Skip to content

Kirby 4.4.1

Str::encoding()

Tries to detect the string encoding

Str::encoding(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Toolkit\Str