original_string: protected function ace_decode($data) {
          $entries = explode("\n", $data);
          foreach ($entries as $key => $entry) {
              $entry = trim($entry);
              if (strpos($entry, 'xn--') !== false) {
                  $entries[$key] = idn_to_utf8($entry, IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46);
              }
          }
          return implode("\n", $entries);
      }
code: protected function ace_decode($data) {
          $entries = explode("\n", $data);
          foreach ($entries as $key => $entry) {
              $entry = trim($entry);
              if (strpos($entry, 'xn--') !== false) {
                  $entries[$key] = idn_to_utf8($entry, IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46);
              }
          }
          return implode("\n", $entries);
      }
code_tokens: protected function ace_decode ( $ data ) { $ entries = explode ( "\n" , $ data ) ; foreach ( $ entries as $ key => $ entry ) { $ entry = trim ( $ entry ) ; if ( strpos ( $ entry , 'xn--' ) !== false ) { $ entries [ $ key ] = idn_to_utf8 ( $ entry , IDNA_NONTRANSITIONAL_TO_ASCII , INTL_IDNA_VARIANT_UTS46 ) ; } } return implode ( "\n" , $ entries ) ; }
docstring: Decode any ascii-encoded domain names back to their utf-8 representation for display.
  
  @param string $data the setting data, as found in the database.
  @return string $data the setting data, with all ascii-encoded IDNs decoded back to their utf-8 representation.
docstring_tokens: Decode any ascii - encoded domain names back to their utf - 8 representation for display .