original_string: public function charset($charset = null)
      {
          if (empty($charset)) {
              $charset = strtolower(Configure::read('App.encoding'));
          }
  
          return $this->formatTemplate('charset', [
              'charset' => !empty($charset) ? $charset : 'utf-8'
          ]);
      }
code: public function charset($charset = null)
      {
          if (empty($charset)) {
              $charset = strtolower(Configure::read('App.encoding'));
          }
  
          return $this->formatTemplate('charset', [
              'charset' => !empty($charset) ? $charset : 'utf-8'
          ]);
      }
code_tokens: public function charset ( $ charset = null ) { if ( empty ( $ charset ) ) { $ charset = strtolower ( Configure :: read ( 'App.encoding' ) ) ; } return $ this -> formatTemplate ( 'charset' , [ 'charset' => ! empty ( $ charset ) ? $ charset : 'utf-8' ] ) ; }
docstring: Returns a charset META-tag.
  
  @param string|null $charset The character set to be used in the meta tag. If empty,
  The App.encoding value will be used. Example: "utf-8".
  @return string A meta tag containing the specified character set.
  @link https://book.cakephp.org/3.0/en/views/helpers/html.html#creating-charset-tags
docstring_tokens: Returns a charset META - tag .