Skip to content
This repository
Browse code

Use EUC-JP as the preferred name in SimplePie_Misc::encoding(). Fixes #…

  • Loading branch information...
commit b6ac10babba80d28d9e90101ccaa96fca1ec25b5 1 parent 8d3eae7
Ryan McCue authored February 18, 2010
1  create.php
@@ -70,6 +70,7 @@ function build_character_set_list()
70 70
 			'TIS-620' => 'windows-874',
71 71
 			//'US-ASCII' => 'windows-1252',
72 72
 			'x-x-big5' => 'Big5',
  73
+			'Extended_UNIX_Code_Packed_Format_for_Japanese' => 'EUC-JP',
73 74
 		);
74 75
 		
75 76
 		foreach ($compat as $real => $replace)
2  simplepie.inc
@@ -9672,7 +9672,7 @@ class SimplePie_Misc
9672 9672
 			case 'cseucpkdfmtjapanese':
9673 9673
 			case 'eucjp':
9674 9674
 			case 'extendedunixcodepackedformatforjapanese':
9675  
-				return 'Extended_UNIX_Code_Packed_Format_for_Japanese';
  9675
+				return 'EUC-JP';
9676 9676
 
9677 9677
 			case 'gb18030':
9678 9678
 				return 'GB18030';

0 notes on commit b6ac10b

Please sign in to comment.
Something went wrong with that request. Please try again.