original_string: public static function get_encodings() {
          $encodings = array();
          $encodings['UTF-8'] = 'UTF-8';
          $winenc = strtoupper(get_string('localewincharset', 'langconfig'));
          if ($winenc != '') {
              $encodings[$winenc] = $winenc;
          }
          $nixenc = strtoupper(get_string('oldcharset', 'langconfig'));
          $encodings[$nixenc] = $nixenc;
  
          foreach (self::typo3()->synonyms as $enc) {
              $enc = strtoupper($enc);
              $encodings[$enc] = $enc;
          }
          return $encodings;
      }
code: public static function get_encodings() {
          $encodings = array();
          $encodings['UTF-8'] = 'UTF-8';
          $winenc = strtoupper(get_string('localewincharset', 'langconfig'));
          if ($winenc != '') {
              $encodings[$winenc] = $winenc;
          }
          $nixenc = strtoupper(get_string('oldcharset', 'langconfig'));
          $encodings[$nixenc] = $nixenc;
  
          foreach (self::typo3()->synonyms as $enc) {
              $enc = strtoupper($enc);
              $encodings[$enc] = $enc;
          }
          return $encodings;
      }
code_tokens: public static function get_encodings ( ) { $ encodings = array ( ) ; $ encodings [ 'UTF-8' ] = 'UTF-8' ; $ winenc = strtoupper ( get_string ( 'localewincharset' , 'langconfig' ) ) ; if ( $ winenc != '' ) { $ encodings [ $ winenc ] = $ winenc ; } $ nixenc = strtoupper ( get_string ( 'oldcharset' , 'langconfig' ) ) ; $ encodings [ $ nixenc ] = $ nixenc ; foreach ( self :: typo3 ( ) -> synonyms as $ enc ) { $ enc = strtoupper ( $ enc ) ; $ encodings [ $ enc ] = $ enc ; } return $ encodings ; }
docstring: Returns encoding options for select boxes, utf-8 and platform encoding first
  
  @return array encodings
docstring_tokens: Returns encoding options for select boxes utf - 8 and platform encoding first