protected function normalizeEncoding($encoding)
    {
        if ($encoding === null) {
            $encoding = '';
        }

        if ($encoding === '') {
            return $encoding;
        }

        return '.'.strtolower(str_replace('-', '', $encoding));
    }