From ae2e4c9a01e28957a5604addca5405a6274dcb3e Mon Sep 17 00:00:00 2001 From: CQD Date: Mon, 23 Jun 2014 14:18:48 +0800 Subject: [PATCH] Add MAC CJK codepage Refering to http://msdn.microsoft.com/en-us/library/system.text.encodinginfo.codepage%28v=vs.110%29.aspx --- Classes/PHPExcel/Shared/CodePage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/PHPExcel/Shared/CodePage.php b/Classes/PHPExcel/Shared/CodePage.php index 3e3ab29..01e0ea4 100644 --- a/Classes/PHPExcel/Shared/CodePage.php +++ b/Classes/PHPExcel/Shared/CodePage.php @@ -83,6 +83,9 @@ class PHPExcel_Shared_CodePage case 1258: return 'CP1258'; break; // ANSI Vietnamese case 1361: return 'CP1361'; break; // ANSI Korean (Johab) case 10000: return 'MAC'; break; // Apple Roman + case 10001: return 'CP932'; break; // Macintosh Japanese + case 10002: return 'CP950'; break; // Macintosh Chinese Traditional + case 10003: return 'CP1361'; break; // Macintosh Korean case 10006: return 'MACGREEK'; break; // Macintosh Greek case 10007: return 'MACCYRILLIC'; break; // Macintosh Cyrillic case 10008: return 'CP936'; break; // Macintosh - Simplified Chinese (GB 2312)