显示下拉菜单

Test of iconv_mime_encode() 本页面仅提供英文版本。

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> 'Subject',
  
=> 'Prüfung Prüfung',
  
=> [
    
'input-charset' => 'UTF-8',
    
'output-charset' => 'UTF-8',
    
'line-length' => 76,
    
'line-break-chars' => '_DOUBLE_QUOTES_\\n_DOUBLE_QUOTES_',
    
'scheme' => 'Q',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Subject: =?UTF-8?Q?Pr=C3=BCfung=20Pr=C3=BCfung?=',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'Subject',
  
=> 'Prüfung Prüfung',
  
=> [
    
'input-charset' => 'UTF-8',
    
'output-charset' => 'ISO-8859-1',
    
'line-length' => 76,
    
'line-break-chars' => '_DOUBLE_QUOTES_\\n_DOUBLE_QUOTES_',
    
'scheme' => 'B',
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'Subject: =?ISO-8859-1?B?UHL8ZnVuZyBQcvxmdW5n?=',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]