@@ -50,8 +50,8 @@ |
||
50 | 50 | switch ($encoding) { |
51 | 51 | case 'Q': |
52 | 52 | case 'q': |
53 | - $out .= self::convertCharset(preg_replace_callback('/=([0-9a-f]{2})/i', function ($ord) { |
|
54 | - return chr(hexdec($ord [1])); |
|
53 | + $out .= self::convertCharset(preg_replace_callback('/=([0-9a-f]{2})/i', function($ord) { |
|
54 | + return chr(hexdec($ord [ 1 ])); |
|
55 | 55 | }, str_replace('_', ' ', $encoded_text)), $orig_charset, mb_internal_encoding()); |
56 | 56 | break; |
57 | 57 |