/**
 * Get character encoding.
 *
 * @return string Returns internal encoding.
 */
public function getEncoding(): string

Examples

$encoding = Strings::create('SG-1 returns from an off-world mission', 'UTF-8')->getEncoding();

Getting Started

Methods