From 27b56e28dbf27cf0a6e5e3c933564b3b77a1d1d7 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 29 Sep 2010 12:03:12 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20more=20encodings=20for=20the=20open?= =?UTF-8?q?=20a=20file=20and=20import=20resp.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPEncodingPopupAccessory.m | 91 ++++++++++++++++++++++++++++++++++----- 1 file changed, 80 insertions(+), 11 deletions(-) diff --git a/Source/SPEncodingPopupAccessory.m b/Source/SPEncodingPopupAccessory.m index e394602e..16097485 100644 --- a/Source/SPEncodingPopupAccessory.m +++ b/Source/SPEncodingPopupAccessory.m @@ -49,28 +49,97 @@ kCFStringEncodingUTF16BE, kCFStringEncodingUTF16LE, kCFStringEncodingUTF32, - kCFStringEncodingWindowsLatin1, kCFStringEncodingISOLatin1, - kCFStringEncodingWindowsLatin2, kCFStringEncodingISOLatin2, kCFStringEncodingISOLatin3, kCFStringEncodingISOLatin4, - kCFStringEncodingWindowsLatin5, + kCFStringEncodingISOLatin5, + kCFStringEncodingISOLatin6, + kCFStringEncodingISOLatin7, + kCFStringEncodingISOLatin8, + kCFStringEncodingISOLatin9, + kCFStringEncodingISOLatin10, + kCFStringEncodingISOLatinCyrillic, + kCFStringEncodingISOLatinArabic, + kCFStringEncodingISOLatinGreek, + kCFStringEncodingISOLatinHebrew, + kCFStringEncodingISOLatinThai, kCFStringEncodingKOI8_R, kCFStringEncodingKOI8_U, - kCFStringEncodingMacRoman, - kCFStringEncodingMacJapanese, - kCFStringEncodingShiftJIS, - kCFStringEncodingEUC_JP, + kCFStringEncodingISO_2022_CN, + kCFStringEncodingISO_2022_CN_EXT, kCFStringEncodingISO_2022_JP, - kCFStringEncodingMacChineseTrad, - kCFStringEncodingMacChineseSimp, + kCFStringEncodingISO_2022_JP_1, + kCFStringEncodingISO_2022_JP_2, + kCFStringEncodingISO_2022_JP_3, + kCFStringEncodingISO_2022_KR, + kCFStringEncodingJIS_X0208_90, + kCFStringEncodingShiftJIS, + kCFStringEncodingShiftJIS_X0213, kCFStringEncodingBig5, - kCFStringEncodingGB_18030_2000, + kCFStringEncodingBig5_E, + kCFStringEncodingBig5_HKSCS_1999, kCFStringEncodingEUC_CN, + kCFStringEncodingEUC_JP, + kCFStringEncodingEUC_KR, kCFStringEncodingEUC_TW, + kCFStringEncodingGBK_95, + kCFStringEncodingGB_18030_2000, + kCFStringEncodingGB_2312_80, + kCFStringEncodingHZ_GB_2312, + kCFStringEncodingKSC_5601_87, + kCFStringEncodingMacRoman, + kCFStringEncodingMacRomanLatin1, + kCFStringEncodingMacArabic, + kCFStringEncodingMacArmenian, + kCFStringEncodingMacBengali, + kCFStringEncodingMacBurmese, + kCFStringEncodingMacCeltic, + kCFStringEncodingMacCentralEurRoman, + kCFStringEncodingMacChineseSimp, + kCFStringEncodingMacChineseTrad, + kCFStringEncodingMacCroatian, + kCFStringEncodingMacCyrillic, + kCFStringEncodingMacDevanagari, + kCFStringEncodingMacDingbats, + kCFStringEncodingMacEthiopic, + kCFStringEncodingMacFarsi, + kCFStringEncodingMacGaelic, + kCFStringEncodingMacGeorgian, + kCFStringEncodingMacGreek, + kCFStringEncodingMacGujarati, + kCFStringEncodingMacGurmukhi, + kCFStringEncodingMacHebrew, + kCFStringEncodingMacIcelandic, + kCFStringEncodingMacInuit, + kCFStringEncodingMacJapanese, + kCFStringEncodingMacKannada, + kCFStringEncodingMacKhmer, kCFStringEncodingMacKorean, - kCFStringEncodingEUC_KR, + kCFStringEncodingMacLaotian, + kCFStringEncodingMacMalayalam, + kCFStringEncodingMacMongolian, + kCFStringEncodingMacOriya, + kCFStringEncodingMacRomanian, + kCFStringEncodingMacSinhalese, + kCFStringEncodingMacSymbol, + kCFStringEncodingMacTamil, + kCFStringEncodingMacTelugu, + kCFStringEncodingMacThai, + kCFStringEncodingMacTibetan, + kCFStringEncodingMacTurkish, + kCFStringEncodingMacUkrainian, + kCFStringEncodingMacVietnamese, + kCFStringEncodingWindowsLatin1, + kCFStringEncodingWindowsLatin2, + kCFStringEncodingWindowsLatin5, + kCFStringEncodingWindowsArabic, + kCFStringEncodingWindowsBalticRim, + kCFStringEncodingWindowsCyrillic, + kCFStringEncodingWindowsGreek, + kCFStringEncodingWindowsHebrew, + kCFStringEncodingWindowsKoreanJohab, + kCFStringEncodingWindowsVietnamese, -1 }; NSStringEncoding encoding; -- cgit v1.2.3