cchardet 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.gitmodules +3 -0
  4. data/.rubocop.yml +11 -0
  5. data/CHANGELOG.md +5 -0
  6. data/Gemfile +10 -0
  7. data/README.md +35 -0
  8. data/Rakefile +15 -0
  9. data/cchardet.gemspec +30 -0
  10. data/ext/cchardet/extconf.rb +26 -0
  11. data/ext/uchardet/.gitignore +1 -0
  12. data/ext/uchardet/.gitlab-ci.yml +106 -0
  13. data/ext/uchardet/AUTHORS +16 -0
  14. data/ext/uchardet/CMakeLists.txt +74 -0
  15. data/ext/uchardet/COPYING +1316 -0
  16. data/ext/uchardet/INSTALL +26 -0
  17. data/ext/uchardet/README.md +295 -0
  18. data/ext/uchardet/build-mac/uchardet.cpp +7 -0
  19. data/ext/uchardet/build-mac/uchardet.xcodeproj/project.pbxproj +543 -0
  20. data/ext/uchardet/build-mac/uchardet.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  21. data/ext/uchardet/build-mac/uchardet.xcodeproj/project.xcworkspace/xcshareddata/uchardet.xccheckout +41 -0
  22. data/ext/uchardet/build-mac/uchardet.xcodeproj/xcshareddata/xcschemes/uchardet-ios.xcscheme +77 -0
  23. data/ext/uchardet/build-mac/uchardet.xcodeproj/xcshareddata/xcschemes/uchardet.xcscheme +77 -0
  24. data/ext/uchardet/doc/CMakeLists.txt +6 -0
  25. data/ext/uchardet/doc/README.maintainer +59 -0
  26. data/ext/uchardet/doc/uchardet.1 +18 -0
  27. data/ext/uchardet/script/BuildLangModel.py +533 -0
  28. data/ext/uchardet/script/BuildLangModelLogs/LangArabicModel.log +142 -0
  29. data/ext/uchardet/script/BuildLangModelLogs/LangCroatianModel.log +157 -0
  30. data/ext/uchardet/script/BuildLangModelLogs/LangCzechModel.log +161 -0
  31. data/ext/uchardet/script/BuildLangModelLogs/LangDanishModel.log +158 -0
  32. data/ext/uchardet/script/BuildLangModelLogs/LangEsperantoModel.log +110 -0
  33. data/ext/uchardet/script/BuildLangModelLogs/LangEstonianModel.log +159 -0
  34. data/ext/uchardet/script/BuildLangModelLogs/LangFinnishModel.log +156 -0
  35. data/ext/uchardet/script/BuildLangModelLogs/LangFrenchModel.log +116 -0
  36. data/ext/uchardet/script/BuildLangModelLogs/LangGermanModel.log +159 -0
  37. data/ext/uchardet/script/BuildLangModelLogs/LangGreekModel.log +272 -0
  38. data/ext/uchardet/script/BuildLangModelLogs/LangHungarianModel.log +109 -0
  39. data/ext/uchardet/script/BuildLangModelLogs/LangIrishModel.log +156 -0
  40. data/ext/uchardet/script/BuildLangModelLogs/LangItalianModel.log +162 -0
  41. data/ext/uchardet/script/BuildLangModelLogs/LangLatvianModel.log +162 -0
  42. data/ext/uchardet/script/BuildLangModelLogs/LangLithuanianModel.log +162 -0
  43. data/ext/uchardet/script/BuildLangModelLogs/LangMalteseModel.log +147 -0
  44. data/ext/uchardet/script/BuildLangModelLogs/LangPolishModel.log +154 -0
  45. data/ext/uchardet/script/BuildLangModelLogs/LangPortugueseModel.log +166 -0
  46. data/ext/uchardet/script/BuildLangModelLogs/LangRomanianModel.log +153 -0
  47. data/ext/uchardet/script/BuildLangModelLogs/LangSlovakModel.log +158 -0
  48. data/ext/uchardet/script/BuildLangModelLogs/LangSloveneModel.log +148 -0
  49. data/ext/uchardet/script/BuildLangModelLogs/LangSpanishModel.log +109 -0
  50. data/ext/uchardet/script/BuildLangModelLogs/LangSwedishModel.log +151 -0
  51. data/ext/uchardet/script/BuildLangModelLogs/LangThaiModel.log +141 -0
  52. data/ext/uchardet/script/BuildLangModelLogs/LangTurkishModel.log +113 -0
  53. data/ext/uchardet/script/BuildLangModelLogs/LangVietnameseModel.log +121 -0
  54. data/ext/uchardet/script/README +63 -0
  55. data/ext/uchardet/script/charsets/codepoints.py +53 -0
  56. data/ext/uchardet/script/charsets/db.py +73 -0
  57. data/ext/uchardet/script/charsets/ibm852.py +72 -0
  58. data/ext/uchardet/script/charsets/iso-8859-1.py +85 -0
  59. data/ext/uchardet/script/charsets/iso-8859-10.py +73 -0
  60. data/ext/uchardet/script/charsets/iso-8859-11.py +77 -0
  61. data/ext/uchardet/script/charsets/iso-8859-13.py +72 -0
  62. data/ext/uchardet/script/charsets/iso-8859-15.py +80 -0
  63. data/ext/uchardet/script/charsets/iso-8859-16.py +83 -0
  64. data/ext/uchardet/script/charsets/iso-8859-2.py +73 -0
  65. data/ext/uchardet/script/charsets/iso-8859-3.py +75 -0
  66. data/ext/uchardet/script/charsets/iso-8859-4.py +73 -0
  67. data/ext/uchardet/script/charsets/iso-8859-6.py +73 -0
  68. data/ext/uchardet/script/charsets/iso-8859-7.py +73 -0
  69. data/ext/uchardet/script/charsets/iso-8859-9.py +76 -0
  70. data/ext/uchardet/script/charsets/mac-centraleurope.py +72 -0
  71. data/ext/uchardet/script/charsets/tis-620.py +77 -0
  72. data/ext/uchardet/script/charsets/viscii.py +72 -0
  73. data/ext/uchardet/script/charsets/windows-1250.py +75 -0
  74. data/ext/uchardet/script/charsets/windows-1252.py +76 -0
  75. data/ext/uchardet/script/charsets/windows-1253.py +72 -0
  76. data/ext/uchardet/script/charsets/windows-1256.py +75 -0
  77. data/ext/uchardet/script/charsets/windows-1257.py +72 -0
  78. data/ext/uchardet/script/charsets/windows-1258.py +72 -0
  79. data/ext/uchardet/script/debug.sh +9 -0
  80. data/ext/uchardet/script/header-template.cpp +38 -0
  81. data/ext/uchardet/script/langs/ar.py +59 -0
  82. data/ext/uchardet/script/langs/cs.py +80 -0
  83. data/ext/uchardet/script/langs/da.py +69 -0
  84. data/ext/uchardet/script/langs/de.py +69 -0
  85. data/ext/uchardet/script/langs/el.py +55 -0
  86. data/ext/uchardet/script/langs/eo.py +67 -0
  87. data/ext/uchardet/script/langs/es.py +69 -0
  88. data/ext/uchardet/script/langs/et.py +57 -0
  89. data/ext/uchardet/script/langs/fi.py +60 -0
  90. data/ext/uchardet/script/langs/fr.py +79 -0
  91. data/ext/uchardet/script/langs/ga.py +60 -0
  92. data/ext/uchardet/script/langs/hr.py +59 -0
  93. data/ext/uchardet/script/langs/hu.py +66 -0
  94. data/ext/uchardet/script/langs/it.py +56 -0
  95. data/ext/uchardet/script/langs/lt.py +70 -0
  96. data/ext/uchardet/script/langs/lv.py +69 -0
  97. data/ext/uchardet/script/langs/mt.py +80 -0
  98. data/ext/uchardet/script/langs/pl.py +81 -0
  99. data/ext/uchardet/script/langs/pt.py +80 -0
  100. data/ext/uchardet/script/langs/ro.py +65 -0
  101. data/ext/uchardet/script/langs/sk.py +80 -0
  102. data/ext/uchardet/script/langs/sl.py +59 -0
  103. data/ext/uchardet/script/langs/sv.py +56 -0
  104. data/ext/uchardet/script/langs/th.py +55 -0
  105. data/ext/uchardet/script/langs/tr.py +67 -0
  106. data/ext/uchardet/script/langs/vi.py +64 -0
  107. data/ext/uchardet/script/release.sh +8 -0
  108. data/ext/uchardet/script/win32.sh +7 -0
  109. data/ext/uchardet/src/Big5Freq.tab +943 -0
  110. data/ext/uchardet/src/CMakeLists.txt +160 -0
  111. data/ext/uchardet/src/CharDistribution.cpp +109 -0
  112. data/ext/uchardet/src/CharDistribution.h +242 -0
  113. data/ext/uchardet/src/EUCKRFreq.tab +614 -0
  114. data/ext/uchardet/src/EUCTWFreq.tab +447 -0
  115. data/ext/uchardet/src/GB2312Freq.tab +491 -0
  116. data/ext/uchardet/src/JISFreq.tab +589 -0
  117. data/ext/uchardet/src/JpCntx.cpp +230 -0
  118. data/ext/uchardet/src/JpCntx.h +140 -0
  119. data/ext/uchardet/src/LangModels/LangArabicModel.cpp +267 -0
  120. data/ext/uchardet/src/LangModels/LangBulgarianModel.cpp +249 -0
  121. data/ext/uchardet/src/LangModels/LangCroatianModel.cpp +298 -0
  122. data/ext/uchardet/src/LangModels/LangCzechModel.cpp +285 -0
  123. data/ext/uchardet/src/LangModels/LangDanishModel.cpp +201 -0
  124. data/ext/uchardet/src/LangModels/LangEsperantoModel.cpp +142 -0
  125. data/ext/uchardet/src/LangModels/LangEstonianModel.cpp +268 -0
  126. data/ext/uchardet/src/LangModels/LangFinnishModel.cpp +297 -0
  127. data/ext/uchardet/src/LangModels/LangFrenchModel.cpp +209 -0
  128. data/ext/uchardet/src/LangModels/LangGermanModel.cpp +170 -0
  129. data/ext/uchardet/src/LangModels/LangGreekModel.cpp +231 -0
  130. data/ext/uchardet/src/LangModels/LangHebrewModel.cpp +220 -0
  131. data/ext/uchardet/src/LangModels/LangHungarianModel.cpp +171 -0
  132. data/ext/uchardet/src/LangModels/LangIrishModel.cpp +234 -0
  133. data/ext/uchardet/src/LangModels/LangItalianModel.cpp +269 -0
  134. data/ext/uchardet/src/LangModels/LangLatvianModel.cpp +210 -0
  135. data/ext/uchardet/src/LangModels/LangLithuanianModel.cpp +209 -0
  136. data/ext/uchardet/src/LangModels/LangMalteseModel.cpp +138 -0
  137. data/ext/uchardet/src/LangModels/LangPolishModel.cpp +304 -0
  138. data/ext/uchardet/src/LangModels/LangPortugueseModel.cpp +241 -0
  139. data/ext/uchardet/src/LangModels/LangRomanianModel.cpp +236 -0
  140. data/ext/uchardet/src/LangModels/LangRussianModel.cpp +367 -0
  141. data/ext/uchardet/src/LangModels/LangSlovakModel.cpp +293 -0
  142. data/ext/uchardet/src/LangModels/LangSloveneModel.cpp +264 -0
  143. data/ext/uchardet/src/LangModels/LangSpanishModel.cpp +204 -0
  144. data/ext/uchardet/src/LangModels/LangSwedishModel.cpp +266 -0
  145. data/ext/uchardet/src/LangModels/LangThaiModel.cpp +267 -0
  146. data/ext/uchardet/src/LangModels/LangTurkishModel.cpp +175 -0
  147. data/ext/uchardet/src/LangModels/LangVietnameseModel.cpp +249 -0
  148. data/ext/uchardet/src/nsBig5Prober.cpp +88 -0
  149. data/ext/uchardet/src/nsBig5Prober.h +75 -0
  150. data/ext/uchardet/src/nsCharSetProber.cpp +125 -0
  151. data/ext/uchardet/src/nsCharSetProber.h +77 -0
  152. data/ext/uchardet/src/nsCodingStateMachine.h +105 -0
  153. data/ext/uchardet/src/nsEUCJPProber.cpp +99 -0
  154. data/ext/uchardet/src/nsEUCJPProber.h +79 -0
  155. data/ext/uchardet/src/nsEUCKRProber.cpp +91 -0
  156. data/ext/uchardet/src/nsEUCKRProber.h +81 -0
  157. data/ext/uchardet/src/nsEUCTWProber.cpp +91 -0
  158. data/ext/uchardet/src/nsEUCTWProber.h +75 -0
  159. data/ext/uchardet/src/nsEscCharsetProber.cpp +101 -0
  160. data/ext/uchardet/src/nsEscCharsetProber.h +70 -0
  161. data/ext/uchardet/src/nsEscSM.cpp +267 -0
  162. data/ext/uchardet/src/nsGB2312Prober.cpp +96 -0
  163. data/ext/uchardet/src/nsGB2312Prober.h +77 -0
  164. data/ext/uchardet/src/nsHebrewProber.cpp +194 -0
  165. data/ext/uchardet/src/nsHebrewProber.h +177 -0
  166. data/ext/uchardet/src/nsLatin1Prober.cpp +182 -0
  167. data/ext/uchardet/src/nsLatin1Prober.h +73 -0
  168. data/ext/uchardet/src/nsMBCSGroupProber.cpp +242 -0
  169. data/ext/uchardet/src/nsMBCSGroupProber.h +81 -0
  170. data/ext/uchardet/src/nsMBCSSM.cpp +513 -0
  171. data/ext/uchardet/src/nsPkgInt.h +89 -0
  172. data/ext/uchardet/src/nsSBCSGroupProber.cpp +343 -0
  173. data/ext/uchardet/src/nsSBCSGroupProber.h +71 -0
  174. data/ext/uchardet/src/nsSBCharSetProber.cpp +160 -0
  175. data/ext/uchardet/src/nsSBCharSetProber.h +258 -0
  176. data/ext/uchardet/src/nsSJISProber.cpp +98 -0
  177. data/ext/uchardet/src/nsSJISProber.h +81 -0
  178. data/ext/uchardet/src/nsUTF8Prober.cpp +87 -0
  179. data/ext/uchardet/src/nsUTF8Prober.h +66 -0
  180. data/ext/uchardet/src/nsUniversalDetector.cpp +339 -0
  181. data/ext/uchardet/src/nsUniversalDetector.h +91 -0
  182. data/ext/uchardet/src/nscore.h +59 -0
  183. data/ext/uchardet/src/prmem.h +49 -0
  184. data/ext/uchardet/src/symbols.cmake +41 -0
  185. data/ext/uchardet/src/tools/CMakeLists.txt +23 -0
  186. data/ext/uchardet/src/tools/uchardet.cpp +254 -0
  187. data/ext/uchardet/src/uchardet.cpp +274 -0
  188. data/ext/uchardet/src/uchardet.h +136 -0
  189. data/ext/uchardet/test/CMakeLists.txt +47 -0
  190. data/ext/uchardet/test/ar/iso-8859-6.txt +3 -0
  191. data/ext/uchardet/test/ar/utf-8.txt +3 -0
  192. data/ext/uchardet/test/ar/windows-1256.txt +3 -0
  193. data/ext/uchardet/test/bg/windows-1251.txt +3 -0
  194. data/ext/uchardet/test/cs/ibm852.txt +4 -0
  195. data/ext/uchardet/test/cs/iso-8859-2.txt +4 -0
  196. data/ext/uchardet/test/cs/mac-centraleurope.txt +4 -0
  197. data/ext/uchardet/test/cs/utf-8.txt +4 -0
  198. data/ext/uchardet/test/cs/windows-1250.txt +4 -0
  199. data/ext/uchardet/test/da/iso-8859-1.txt +7 -0
  200. data/ext/uchardet/test/da/iso-8859-15.txt +10 -0
  201. data/ext/uchardet/test/da/utf-8.txt +10 -0
  202. data/ext/uchardet/test/da/windows-1252.txt +10 -0
  203. data/ext/uchardet/test/de/iso-8859-1.txt +11 -0
  204. data/ext/uchardet/test/de/windows-1252.txt +11 -0
  205. data/ext/uchardet/test/el/iso-8859-7.txt +3 -0
  206. data/ext/uchardet/test/el/utf-8.txt +3 -0
  207. data/ext/uchardet/test/el/windows-1253.txt +5 -0
  208. data/ext/uchardet/test/en/ascii.txt +4 -0
  209. data/ext/uchardet/test/eo/iso-8859-3.txt +7 -0
  210. data/ext/uchardet/test/es/iso-8859-1.txt +5 -0
  211. data/ext/uchardet/test/es/iso-8859-15.txt +5 -0
  212. data/ext/uchardet/test/es/utf-8.txt +5 -0
  213. data/ext/uchardet/test/es/windows-1252.txt +5 -0
  214. data/ext/uchardet/test/et/iso-8859-13.txt +6 -0
  215. data/ext/uchardet/test/et/iso-8859-15.txt +6 -0
  216. data/ext/uchardet/test/et/iso-8859-4.txt +6 -0
  217. data/ext/uchardet/test/et/utf-8.txt +6 -0
  218. data/ext/uchardet/test/et/windows-1252.txt +6 -0
  219. data/ext/uchardet/test/et/windows-1257.txt +6 -0
  220. data/ext/uchardet/test/fi/iso-8859-1.txt +8 -0
  221. data/ext/uchardet/test/fi/utf-8.txt +8 -0
  222. data/ext/uchardet/test/fr/iso-8859-1.txt +5 -0
  223. data/ext/uchardet/test/fr/iso-8859-15.txt +16 -0
  224. data/ext/uchardet/test/fr/utf-16.be +0 -0
  225. data/ext/uchardet/test/fr/utf-32.le +0 -0
  226. data/ext/uchardet/test/fr/utf-8.txt +14 -0
  227. data/ext/uchardet/test/fr/windows-1252.txt +3 -0
  228. data/ext/uchardet/test/ga/iso-8859-1.txt +6 -0
  229. data/ext/uchardet/test/ga/utf-8.txt +6 -0
  230. data/ext/uchardet/test/ga/windows-1252.txt +6 -0
  231. data/ext/uchardet/test/he/iso-8859-8.txt +2 -0
  232. data/ext/uchardet/test/he/utf-8.txt +3 -0
  233. data/ext/uchardet/test/he/windows-1255.txt +1 -0
  234. data/ext/uchardet/test/hr/ibm852.txt +4 -0
  235. data/ext/uchardet/test/hr/iso-8859-13.txt +4 -0
  236. data/ext/uchardet/test/hr/iso-8859-16.txt +4 -0
  237. data/ext/uchardet/test/hr/iso-8859-2.txt +4 -0
  238. data/ext/uchardet/test/hr/mac-centraleurope.txt +4 -0
  239. data/ext/uchardet/test/hr/utf-8.txt +4 -0
  240. data/ext/uchardet/test/hr/windows-1250.txt +4 -0
  241. data/ext/uchardet/test/hu/iso-8859-2.txt +3 -0
  242. data/ext/uchardet/test/hu/windows-1250.txt +1 -0
  243. data/ext/uchardet/test/it/iso-8859-1.txt +18 -0
  244. data/ext/uchardet/test/it/utf-8.txt +18 -0
  245. data/ext/uchardet/test/ja/euc-jp.txt +10 -0
  246. data/ext/uchardet/test/ja/iso-2022-jp.txt +8 -0
  247. data/ext/uchardet/test/ja/shift_jis.txt +1 -0
  248. data/ext/uchardet/test/ja/utf-16be.txt +0 -0
  249. data/ext/uchardet/test/ja/utf-16le.txt +0 -0
  250. data/ext/uchardet/test/ja/utf-8.txt +9 -0
  251. data/ext/uchardet/test/ko/iso-2022-kr.txt +8 -0
  252. data/ext/uchardet/test/ko/uhc.smi +16 -0
  253. data/ext/uchardet/test/ko/utf-16.le +0 -0
  254. data/ext/uchardet/test/ko/utf-32.be +0 -0
  255. data/ext/uchardet/test/ko/utf-8.txt +3 -0
  256. data/ext/uchardet/test/lt/iso-8859-10.txt +3 -0
  257. data/ext/uchardet/test/lt/iso-8859-13.txt +3 -0
  258. data/ext/uchardet/test/lt/iso-8859-4.txt +3 -0
  259. data/ext/uchardet/test/lt/utf-8.txt +3 -0
  260. data/ext/uchardet/test/lv/iso-8859-10.txt +6 -0
  261. data/ext/uchardet/test/lv/iso-8859-13.txt +6 -0
  262. data/ext/uchardet/test/lv/iso-8859-4.txt +6 -0
  263. data/ext/uchardet/test/lv/utf-8.txt +6 -0
  264. data/ext/uchardet/test/mt/iso-8859-3.txt +4 -0
  265. data/ext/uchardet/test/mt/utf-8.txt +4 -0
  266. data/ext/uchardet/test/pl/ibm852.txt +3 -0
  267. data/ext/uchardet/test/pl/iso-8859-13.txt +3 -0
  268. data/ext/uchardet/test/pl/iso-8859-16.txt +3 -0
  269. data/ext/uchardet/test/pl/iso-8859-2.txt +3 -0
  270. data/ext/uchardet/test/pl/mac-centraleurope.txt +3 -0
  271. data/ext/uchardet/test/pl/utf-8.txt +3 -0
  272. data/ext/uchardet/test/pl/windows-1250.txt +3 -0
  273. data/ext/uchardet/test/pt/iso-8859-1.txt +6 -0
  274. data/ext/uchardet/test/pt/utf-8.txt +6 -0
  275. data/ext/uchardet/test/ro/ibm852.txt +9 -0
  276. data/ext/uchardet/test/ro/iso-8859-16.txt +9 -0
  277. data/ext/uchardet/test/ro/utf-8.txt +9 -0
  278. data/ext/uchardet/test/ro/windows-1250.txt +9 -0
  279. data/ext/uchardet/test/ru/ibm855.txt +5 -0
  280. data/ext/uchardet/test/ru/ibm866.txt +11 -0
  281. data/ext/uchardet/test/ru/iso-8859-5.txt +3 -0
  282. data/ext/uchardet/test/ru/koi8-r.txt +1 -0
  283. data/ext/uchardet/test/ru/mac-cyrillic.txt +9 -0
  284. data/ext/uchardet/test/ru/windows-1251.txt +4 -0
  285. data/ext/uchardet/test/sk/ibm852.txt +3 -0
  286. data/ext/uchardet/test/sk/iso-8859-2.txt +3 -0
  287. data/ext/uchardet/test/sk/mac-centraleurope.txt +3 -0
  288. data/ext/uchardet/test/sk/utf-8.txt +3 -0
  289. data/ext/uchardet/test/sk/windows-1250.txt +3 -0
  290. data/ext/uchardet/test/sl/ibm852.txt +9 -0
  291. data/ext/uchardet/test/sl/iso-8859-16.txt +9 -0
  292. data/ext/uchardet/test/sl/iso-8859-2.txt +9 -0
  293. data/ext/uchardet/test/sl/mac-centraleurope.txt +9 -0
  294. data/ext/uchardet/test/sl/utf-8.txt +9 -0
  295. data/ext/uchardet/test/sl/windows-1250.txt +9 -0
  296. data/ext/uchardet/test/sv/iso-8859-1.txt +10 -0
  297. data/ext/uchardet/test/sv/utf-8.txt +10 -0
  298. data/ext/uchardet/test/sv/windows-1252.txt +10 -0
  299. data/ext/uchardet/test/th/iso-8859-11.txt +5 -0
  300. data/ext/uchardet/test/th/tis-620.txt +5 -0
  301. data/ext/uchardet/test/th/utf-8.txt +1 -0
  302. data/ext/uchardet/test/tr/iso-8859-3.txt +13 -0
  303. data/ext/uchardet/test/tr/iso-8859-9.txt +13 -0
  304. data/ext/uchardet/test/uchardet-tests.c +130 -0
  305. data/ext/uchardet/test/vi/utf-8.txt +4 -0
  306. data/ext/uchardet/test/vi/viscii.txt +4 -0
  307. data/ext/uchardet/test/vi/windows-1258.txt +4 -0
  308. data/ext/uchardet/test/zh/big5.txt +1 -0
  309. data/ext/uchardet/test/zh/euc-tw.txt +1 -0
  310. data/ext/uchardet/test/zh/gb18030.txt +1 -0
  311. data/ext/uchardet/test/zh/utf-8.txt +1 -0
  312. data/ext/uchardet/uchardet.doap +51 -0
  313. data/ext/uchardet/uchardet.pc.in +10 -0
  314. data/lib/cchardet.rb +56 -0
  315. data/lib/cchardet/lib_finder.rb +32 -0
  316. data/lib/cchardet/version.rb +5 -0
  317. metadata +362 -0
@@ -0,0 +1,26 @@
1
+ # Building uchardet (generic)
2
+
3
+ `uchardet` uses a typical cmake installation.
4
+
5
+ * Configure with `cmake`. There are various options. For instance to configure
6
+ with a prefix as a release-ready build:
7
+
8
+ > cmake -DCMAKE_INSTALL_PREFIX=/home/jehan/.local -DCMAKE_BUILD_TYPE=Release
9
+
10
+ Alternatively, use `ccmake`, curses interface to `cmake`.
11
+
12
+ * Build with `make`.
13
+
14
+ * Install with `make install`.
15
+
16
+ Read `README` for more details on uchardet.
17
+
18
+ # Building uchardet on Windows
19
+
20
+ The above procedure is generic, which means it should work on any platform.
21
+ In particular, it works well on Linux.
22
+
23
+ The procedure is the same on Windows, but if you want more details (for
24
+ instance which tools to use in order to run CMake on Windows, compiler
25
+ information, etc.), the following link may be useful:
26
+ https://github.com/BYVoid/uchardet/issues/39#issuecomment-353873891
@@ -0,0 +1,295 @@
1
+ # uchardet
2
+
3
+ [uchardet](https://www.freedesktop.org/wiki/Software/uchardet/) is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are [iconv](https://www.gnu.org/software/libiconv/)-compatible.
4
+
5
+ uchardet started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation.
6
+
7
+ The original code of universalchardet is available at http://lxr.mozilla.org/seamonkey/source/extensions/universalchardet/
8
+
9
+ Techniques used by universalchardet are described at http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html
10
+
11
+ ## Supported Languages/Encodings
12
+
13
+ * International (Unicode)
14
+ * UTF-8
15
+ * UTF-16BE / UTF-16LE
16
+ * UTF-32BE / UTF-32LE / X-ISO-10646-UCS-4-34121 / X-ISO-10646-UCS-4-21431
17
+ * Arabic
18
+ * ISO-8859-6
19
+ * WINDOWS-1256
20
+ * Bulgarian
21
+ * ISO-8859-5
22
+ * WINDOWS-1251
23
+ * Chinese
24
+ * ISO-2022-CN
25
+ * BIG5
26
+ * EUC-TW
27
+ * GB18030
28
+ * HZ-GB-2312
29
+ * Croatian:
30
+ * ISO-8859-2
31
+ * ISO-8859-13
32
+ * ISO-8859-16
33
+ * Windows-1250
34
+ * IBM852
35
+ * MAC-CENTRALEUROPE
36
+ * Czech
37
+ * Windows-1250
38
+ * ISO-8859-2
39
+ * IBM852
40
+ * MAC-CENTRALEUROPE
41
+ * Danish
42
+ * ISO-8859-1
43
+ * ISO-8859-15
44
+ * WINDOWS-1252
45
+ * English
46
+ * ASCII
47
+ * Esperanto
48
+ * ISO-8859-3
49
+ * Estonian
50
+ * ISO-8859-4
51
+ * ISO-8859-13
52
+ * ISO-8859-13
53
+ * Windows-1252
54
+ * Windows-1257
55
+ * Finnish
56
+ * ISO-8859-1
57
+ * ISO-8859-4
58
+ * ISO-8859-9
59
+ * ISO-8859-13
60
+ * ISO-8859-15
61
+ * WINDOWS-1252
62
+ * French
63
+ * ISO-8859-1
64
+ * ISO-8859-15
65
+ * WINDOWS-1252
66
+ * German
67
+ * ISO-8859-1
68
+ * WINDOWS-1252
69
+ * Greek
70
+ * ISO-8859-7
71
+ * WINDOWS-1253
72
+ * Hebrew
73
+ * ISO-8859-8
74
+ * WINDOWS-1255
75
+ * Hungarian:
76
+ * ISO-8859-2
77
+ * WINDOWS-1250
78
+ * Irish Gaelic
79
+ * ISO-8859-1
80
+ * ISO-8859-9
81
+ * ISO-8859-15
82
+ * WINDOWS-1252
83
+ * Italian
84
+ * ISO-8859-1
85
+ * ISO-8859-3
86
+ * ISO-8859-9
87
+ * ISO-8859-15
88
+ * WINDOWS-1252
89
+ * Japanese
90
+ * ISO-2022-JP
91
+ * SHIFT_JIS
92
+ * EUC-JP
93
+ * Korean
94
+ * ISO-2022-KR
95
+ * EUC-KR / UHC
96
+ * Lithuanian
97
+ * ISO-8859-4
98
+ * ISO-8859-10
99
+ * ISO-8859-13
100
+ * Latvian
101
+ * ISO-8859-4
102
+ * ISO-8859-10
103
+ * ISO-8859-13
104
+ * Maltese
105
+ * ISO-8859-3
106
+ * Polish:
107
+ * ISO-8859-2
108
+ * ISO-8859-13
109
+ * ISO-8859-16
110
+ * Windows-1250
111
+ * IBM852
112
+ * MAC-CENTRALEUROPE
113
+ * Portuguese
114
+ * ISO-8859-1
115
+ * ISO-8859-9
116
+ * ISO-8859-15
117
+ * WINDOWS-1252
118
+ * Romanian:
119
+ * ISO-8859-2
120
+ * ISO-8859-16
121
+ * Windows-1250
122
+ * IBM852
123
+ * Russian
124
+ * ISO-8859-5
125
+ * KOI8-R
126
+ * WINDOWS-1251
127
+ * MAC-CYRILLIC
128
+ * IBM866
129
+ * IBM855
130
+ * Slovak
131
+ * Windows-1250
132
+ * ISO-8859-2
133
+ * IBM852
134
+ * MAC-CENTRALEUROPE
135
+ * Slovene
136
+ * ISO-8859-2
137
+ * ISO-8859-16
138
+ * Windows-1250
139
+ * IBM852
140
+ * MAC-CENTRALEUROPE
141
+ * Spanish
142
+ * ISO-8859-1
143
+ * ISO-8859-15
144
+ * WINDOWS-1252
145
+ * Swedish
146
+ * ISO-8859-1
147
+ * ISO-8859-4
148
+ * ISO-8859-9
149
+ * ISO-8859-15
150
+ * WINDOWS-1252
151
+ * Thai
152
+ * TIS-620
153
+ * ISO-8859-11
154
+ * Turkish:
155
+ * ISO-8859-3
156
+ * ISO-8859-9
157
+ * Vietnamese:
158
+ * VISCII
159
+ * Windows-1258
160
+ * Others
161
+ * WINDOWS-1252
162
+
163
+ ## Installation
164
+
165
+ ### Debian/Ubuntu/Mint
166
+
167
+ apt-get install uchardet libuchardet-dev
168
+
169
+ ### Mageia
170
+
171
+ urpmi libuchardet libuchardet-devel
172
+
173
+ ### Fedora
174
+
175
+ dnf install uchardet uchardet-devel
176
+
177
+ ### Gentoo
178
+
179
+ emerge uchardet
180
+
181
+ ### Mac
182
+
183
+ brew install uchardet
184
+
185
+ ### Windows
186
+
187
+ Binary packages are provided in Fedora and Msys2 repositories. There may
188
+ exist other pre-built packages but I am not aware of them.
189
+ Nevertheless the library is very easily and quickly compilable under
190
+ Windows as well, so finding a binary package is not necessary.
191
+ Some did it successfully with the [CMake Windows
192
+ installer](https://cmake.org/download/) and MinGW. It should be possible
193
+ to use MinGW-w64 instead of MinGW, in particular to build both 32 and
194
+ 64-bit DLL libraries).
195
+
196
+ Note also that it is very easily cross-buildable (for instance from a
197
+ GNU/Linux machine).
198
+
199
+ ### Build from source
200
+
201
+ Releases are available from:
202
+ https://www.freedesktop.org/software/uchardet/releases/
203
+
204
+ If you prefer a development version, clone the git repository:
205
+
206
+ git clone https://gitlab.freedesktop.org/uchardet/uchardet.git
207
+
208
+ The source can be browsed at: https://gitlab.freedesktop.org/uchardet/uchardet
209
+
210
+ cmake .
211
+ make
212
+ make install
213
+
214
+ ### Build with flatpak-builder
215
+
216
+ Here is a working "module" section to include in your Flatpak's json manifest:
217
+
218
+ ```
219
+ "modules": [
220
+ {
221
+ "name": "uchardet",
222
+ "buildsystem": "cmake",
223
+ "builddir": true,
224
+ "config-opts": [ "-DCMAKE_INSTALL_LIBDIR=lib" ],
225
+ "sources": [
226
+ {
227
+ ...
228
+ }
229
+ ]
230
+ }
231
+ ]
232
+ ```
233
+
234
+ ## Usage
235
+
236
+ ### Command Line
237
+
238
+ ```
239
+ uchardet Command Line Tool
240
+ Version 0.0.7
241
+
242
+ Authors: BYVoid, Jehan
243
+ Bug Report: https://gitlab.freedesktop.org/uchardet/uchardet/-/issues
244
+
245
+ Usage:
246
+ uchardet [Options] [File]...
247
+
248
+ Options:
249
+ -v, --version Print version and build information.
250
+ -h, --help Print this help.
251
+ ```
252
+
253
+ ### Library
254
+
255
+ See [uchardet.h](https://gitlab.freedesktop.org/uchardet/uchardet/-/blob/master/src/uchardet.h)
256
+
257
+ ## Related Projects
258
+
259
+ * [python-chardet](https://github.com/chardet/chardet) Python port
260
+ * [ruby-rchardet](http://rubyforge.org/projects/chardet/) Ruby port
261
+ * [juniversalchardet](http://code.google.com/p/juniversalchardet/) Java port of universalchardet
262
+ * [jchardet](http://jchardet.sourceforge.net/) Java port of chardet
263
+ * [nuniversalchardet](http://code.google.com/p/nuniversalchardet/) C# port of universalchardet
264
+ * [nchardet](http://www.conceptdevelopment.net/Localization/NCharDet/) C# port of chardet
265
+ * [uchardet-enhanced](https://bitbucket.org/medoc/uchardet-enhanced) A fork of mozilla universalchardet
266
+ * [rust-uchardet](https://github.com/emk/rust-uchardet) Rust language binding of uchardet
267
+ * [libchardet](https://ftp.oops.org/pub/oops/libchardet/) Another C/C++ API wrapping Mozilla code.
268
+
269
+ ## Used by
270
+
271
+ * [mpv](https://mpv.io/) for subtitle detection
272
+ * [Tepl](https://wiki.gnome.org/Projects/Tepl)
273
+ * [Nextcloud IOS app](https://github.com/nextcloud/ios)
274
+ * [Codelite](https://codelite.org)
275
+ * …
276
+
277
+ ## Licenses
278
+
279
+ * [Mozilla Public License Version 1.1](http://www.mozilla.org/MPL/1.1/)
280
+ * [GNU General Public License, version 2.0](http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) or later.
281
+ * [GNU Lesser General Public License, version 2.1](http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) or later.
282
+
283
+ See the file `COPYING` for the complete text of these 3 licenses.
284
+
285
+ ## Code of Conduct
286
+
287
+ The `uchardet` project is hosted by [freedesktop.org](https://www.freedesktop.org/)
288
+ and as such follows its code of conduct. In other words, it means we
289
+ will treat anyone with respect and expect anyone to do the same.
290
+
291
+ Please read [freedesktop.org Code of Conduct](https://www.freedesktop.org/wiki/CodeOfConduct).
292
+
293
+ In case of any problem regarding abusive behavior in uchardet project,
294
+ please contact the maintainer (Jehan) or create a bug report (possibly
295
+ private if needed).
@@ -0,0 +1,7 @@
1
+ #include "nscore.h"
2
+
3
+ #include "../src/Big5Freq.tab"
4
+ #include "../src/EUCKRFreq.tab"
5
+ #include "../src/EUCTWFreq.tab"
6
+ #include "../src/GB2312Freq.tab"
7
+ #include "../src/JISFreq.tab"
@@ -0,0 +1,543 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ BD4995F119F84868000945BC /* CharDistribution.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995B819F84868000945BC /* CharDistribution.cpp */; };
11
+ BD4995F219F84868000945BC /* JpCntx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995BF19F84868000945BC /* JpCntx.cpp */; };
12
+ BD4995F319F84868000945BC /* LangBulgarianModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C119F84868000945BC /* LangBulgarianModel.cpp */; };
13
+ BD4995F419F84868000945BC /* LangCyrillicModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C219F84868000945BC /* LangCyrillicModel.cpp */; };
14
+ BD4995F519F84868000945BC /* LangGreekModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C319F84868000945BC /* LangGreekModel.cpp */; };
15
+ BD4995F619F84868000945BC /* LangHebrewModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C419F84868000945BC /* LangHebrewModel.cpp */; };
16
+ BD4995F719F84868000945BC /* LangHungarianModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C519F84868000945BC /* LangHungarianModel.cpp */; };
17
+ BD4995F819F84868000945BC /* LangThaiModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C619F84868000945BC /* LangThaiModel.cpp */; };
18
+ BD4995F919F84868000945BC /* nsBig5Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C719F84868000945BC /* nsBig5Prober.cpp */; };
19
+ BD4995FA19F84868000945BC /* nsCharSetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C919F84868000945BC /* nsCharSetProber.cpp */; };
20
+ BD4995FB19F84868000945BC /* nsEscCharsetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995CD19F84868000945BC /* nsEscCharsetProber.cpp */; };
21
+ BD4995FC19F84868000945BC /* nsEscSM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995CF19F84868000945BC /* nsEscSM.cpp */; };
22
+ BD4995FD19F84868000945BC /* nsEUCJPProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D019F84868000945BC /* nsEUCJPProber.cpp */; };
23
+ BD4995FE19F84868000945BC /* nsEUCKRProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D219F84868000945BC /* nsEUCKRProber.cpp */; };
24
+ BD4995FF19F84868000945BC /* nsEUCTWProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D419F84868000945BC /* nsEUCTWProber.cpp */; };
25
+ BD49960019F84868000945BC /* nsGB2312Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D619F84868000945BC /* nsGB2312Prober.cpp */; };
26
+ BD49960119F84868000945BC /* nsHebrewProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D819F84868000945BC /* nsHebrewProber.cpp */; };
27
+ BD49960219F84868000945BC /* nsLatin1Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DA19F84868000945BC /* nsLatin1Prober.cpp */; };
28
+ BD49960319F84868000945BC /* nsMBCSGroupProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DC19F84868000945BC /* nsMBCSGroupProber.cpp */; };
29
+ BD49960419F84868000945BC /* nsMBCSSM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DE19F84868000945BC /* nsMBCSSM.cpp */; };
30
+ BD49960519F84868000945BC /* nsSBCharSetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E019F84868000945BC /* nsSBCharSetProber.cpp */; };
31
+ BD49960619F84868000945BC /* nsSBCSGroupProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E219F84868000945BC /* nsSBCSGroupProber.cpp */; };
32
+ BD49960719F84868000945BC /* nsSJISProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E419F84868000945BC /* nsSJISProber.cpp */; };
33
+ BD49960819F84868000945BC /* nsUniversalDetector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E619F84868000945BC /* nsUniversalDetector.cpp */; };
34
+ BD49960919F84868000945BC /* nsUTF8Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E819F84868000945BC /* nsUTF8Prober.cpp */; };
35
+ BD49960B19F84868000945BC /* uchardet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995EF19F84868000945BC /* uchardet.cpp */; };
36
+ BD49960F19F848DC000945BC /* uchardet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD49960D19F848DC000945BC /* uchardet.cpp */; };
37
+ BD49961019F849E1000945BC /* uchardet.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = BD4995F019F84868000945BC /* uchardet.h */; };
38
+ BD49961319FC04E8000945BC /* nsMBCSGroupProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DC19F84868000945BC /* nsMBCSGroupProber.cpp */; };
39
+ BD49961419FC04E8000945BC /* LangCyrillicModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C219F84868000945BC /* LangCyrillicModel.cpp */; };
40
+ BD49961519FC04E8000945BC /* uchardet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD49960D19F848DC000945BC /* uchardet.cpp */; };
41
+ BD49961619FC04E8000945BC /* nsSJISProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E419F84868000945BC /* nsSJISProber.cpp */; };
42
+ BD49961719FC04E8000945BC /* nsHebrewProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D819F84868000945BC /* nsHebrewProber.cpp */; };
43
+ BD49961819FC04E8000945BC /* nsSBCSGroupProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E219F84868000945BC /* nsSBCSGroupProber.cpp */; };
44
+ BD49961919FC04E8000945BC /* nsMBCSSM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DE19F84868000945BC /* nsMBCSSM.cpp */; };
45
+ BD49961A19FC04E8000945BC /* LangBulgarianModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C119F84868000945BC /* LangBulgarianModel.cpp */; };
46
+ BD49961B19FC04E8000945BC /* LangHebrewModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C419F84868000945BC /* LangHebrewModel.cpp */; };
47
+ BD49961C19FC04E8000945BC /* nsEUCTWProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D419F84868000945BC /* nsEUCTWProber.cpp */; };
48
+ BD49961D19FC04E8000945BC /* LangThaiModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C619F84868000945BC /* LangThaiModel.cpp */; };
49
+ BD49961E19FC04E8000945BC /* uchardet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995EF19F84868000945BC /* uchardet.cpp */; };
50
+ BD49961F19FC04E8000945BC /* nsEscSM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995CF19F84868000945BC /* nsEscSM.cpp */; };
51
+ BD49962019FC04E8000945BC /* nsUTF8Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E819F84868000945BC /* nsUTF8Prober.cpp */; };
52
+ BD49962119FC04E8000945BC /* LangGreekModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C319F84868000945BC /* LangGreekModel.cpp */; };
53
+ BD49962219FC04E8000945BC /* nsUniversalDetector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E619F84868000945BC /* nsUniversalDetector.cpp */; };
54
+ BD49962319FC04E8000945BC /* nsSBCharSetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995E019F84868000945BC /* nsSBCharSetProber.cpp */; };
55
+ BD49962419FC04E8000945BC /* LangHungarianModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C519F84868000945BC /* LangHungarianModel.cpp */; };
56
+ BD49962519FC04E8000945BC /* nsEUCJPProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D019F84868000945BC /* nsEUCJPProber.cpp */; };
57
+ BD49962619FC04E8000945BC /* JpCntx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995BF19F84868000945BC /* JpCntx.cpp */; };
58
+ BD49962719FC04E8000945BC /* nsCharSetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C919F84868000945BC /* nsCharSetProber.cpp */; };
59
+ BD49962819FC04E8000945BC /* nsEscCharsetProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995CD19F84868000945BC /* nsEscCharsetProber.cpp */; };
60
+ BD49962919FC04E8000945BC /* nsEUCKRProber.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D219F84868000945BC /* nsEUCKRProber.cpp */; };
61
+ BD49962A19FC04E8000945BC /* nsBig5Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995C719F84868000945BC /* nsBig5Prober.cpp */; };
62
+ BD49962B19FC04E8000945BC /* CharDistribution.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995B819F84868000945BC /* CharDistribution.cpp */; };
63
+ BD49962C19FC04E8000945BC /* nsGB2312Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995D619F84868000945BC /* nsGB2312Prober.cpp */; };
64
+ BD49962D19FC04E8000945BC /* nsLatin1Prober.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BD4995DA19F84868000945BC /* nsLatin1Prober.cpp */; };
65
+ BD49963019FC04E8000945BC /* uchardet.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = BD4995F019F84868000945BC /* uchardet.h */; };
66
+ /* End PBXBuildFile section */
67
+
68
+ /* Begin PBXCopyFilesBuildPhase section */
69
+ BD49959A19F84840000945BC /* CopyFiles */ = {
70
+ isa = PBXCopyFilesBuildPhase;
71
+ buildActionMask = 12;
72
+ dstPath = include/uchardet;
73
+ dstSubfolderSpec = 16;
74
+ files = (
75
+ BD49961019F849E1000945BC /* uchardet.h in CopyFiles */,
76
+ );
77
+ runOnlyForDeploymentPostprocessing = 0;
78
+ };
79
+ BD49962F19FC04E8000945BC /* CopyFiles */ = {
80
+ isa = PBXCopyFilesBuildPhase;
81
+ buildActionMask = 12;
82
+ dstPath = include/uchardet;
83
+ dstSubfolderSpec = 16;
84
+ files = (
85
+ BD49963019FC04E8000945BC /* uchardet.h in CopyFiles */,
86
+ );
87
+ runOnlyForDeploymentPostprocessing = 0;
88
+ };
89
+ /* End PBXCopyFilesBuildPhase section */
90
+
91
+ /* Begin PBXFileReference section */
92
+ BD49959C19F84840000945BC /* libuchardet.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libuchardet.a; sourceTree = BUILT_PRODUCTS_DIR; };
93
+ BD4995B719F84868000945BC /* Big5Freq.tab */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Big5Freq.tab; sourceTree = "<group>"; };
94
+ BD4995B819F84868000945BC /* CharDistribution.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CharDistribution.cpp; sourceTree = "<group>"; };
95
+ BD4995B919F84868000945BC /* CharDistribution.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CharDistribution.h; sourceTree = "<group>"; };
96
+ BD4995BB19F84868000945BC /* EUCKRFreq.tab */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EUCKRFreq.tab; sourceTree = "<group>"; };
97
+ BD4995BC19F84868000945BC /* EUCTWFreq.tab */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = EUCTWFreq.tab; sourceTree = "<group>"; };
98
+ BD4995BD19F84868000945BC /* GB2312Freq.tab */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = GB2312Freq.tab; sourceTree = "<group>"; };
99
+ BD4995BE19F84868000945BC /* JISFreq.tab */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = JISFreq.tab; sourceTree = "<group>"; };
100
+ BD4995BF19F84868000945BC /* JpCntx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JpCntx.cpp; sourceTree = "<group>"; };
101
+ BD4995C019F84868000945BC /* JpCntx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JpCntx.h; sourceTree = "<group>"; };
102
+ BD4995C119F84868000945BC /* LangBulgarianModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangBulgarianModel.cpp; sourceTree = "<group>"; };
103
+ BD4995C219F84868000945BC /* LangCyrillicModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangCyrillicModel.cpp; sourceTree = "<group>"; };
104
+ BD4995C319F84868000945BC /* LangGreekModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangGreekModel.cpp; sourceTree = "<group>"; };
105
+ BD4995C419F84868000945BC /* LangHebrewModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangHebrewModel.cpp; sourceTree = "<group>"; };
106
+ BD4995C519F84868000945BC /* LangHungarianModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangHungarianModel.cpp; sourceTree = "<group>"; };
107
+ BD4995C619F84868000945BC /* LangThaiModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LangThaiModel.cpp; sourceTree = "<group>"; };
108
+ BD4995C719F84868000945BC /* nsBig5Prober.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsBig5Prober.cpp; sourceTree = "<group>"; };
109
+ BD4995C819F84868000945BC /* nsBig5Prober.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsBig5Prober.h; sourceTree = "<group>"; };
110
+ BD4995C919F84868000945BC /* nsCharSetProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsCharSetProber.cpp; sourceTree = "<group>"; };
111
+ BD4995CA19F84868000945BC /* nsCharSetProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsCharSetProber.h; sourceTree = "<group>"; };
112
+ BD4995CB19F84868000945BC /* nsCodingStateMachine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsCodingStateMachine.h; sourceTree = "<group>"; };
113
+ BD4995CC19F84868000945BC /* nscore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nscore.h; sourceTree = "<group>"; };
114
+ BD4995CD19F84868000945BC /* nsEscCharsetProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsEscCharsetProber.cpp; sourceTree = "<group>"; };
115
+ BD4995CE19F84868000945BC /* nsEscCharsetProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsEscCharsetProber.h; sourceTree = "<group>"; };
116
+ BD4995CF19F84868000945BC /* nsEscSM.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsEscSM.cpp; sourceTree = "<group>"; };
117
+ BD4995D019F84868000945BC /* nsEUCJPProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsEUCJPProber.cpp; sourceTree = "<group>"; };
118
+ BD4995D119F84868000945BC /* nsEUCJPProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsEUCJPProber.h; sourceTree = "<group>"; };
119
+ BD4995D219F84868000945BC /* nsEUCKRProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsEUCKRProber.cpp; sourceTree = "<group>"; };
120
+ BD4995D319F84868000945BC /* nsEUCKRProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsEUCKRProber.h; sourceTree = "<group>"; };
121
+ BD4995D419F84868000945BC /* nsEUCTWProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsEUCTWProber.cpp; sourceTree = "<group>"; };
122
+ BD4995D519F84868000945BC /* nsEUCTWProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsEUCTWProber.h; sourceTree = "<group>"; };
123
+ BD4995D619F84868000945BC /* nsGB2312Prober.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsGB2312Prober.cpp; sourceTree = "<group>"; };
124
+ BD4995D719F84868000945BC /* nsGB2312Prober.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsGB2312Prober.h; sourceTree = "<group>"; };
125
+ BD4995D819F84868000945BC /* nsHebrewProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsHebrewProber.cpp; sourceTree = "<group>"; };
126
+ BD4995D919F84868000945BC /* nsHebrewProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsHebrewProber.h; sourceTree = "<group>"; };
127
+ BD4995DA19F84868000945BC /* nsLatin1Prober.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsLatin1Prober.cpp; sourceTree = "<group>"; };
128
+ BD4995DB19F84868000945BC /* nsLatin1Prober.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsLatin1Prober.h; sourceTree = "<group>"; };
129
+ BD4995DC19F84868000945BC /* nsMBCSGroupProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsMBCSGroupProber.cpp; sourceTree = "<group>"; };
130
+ BD4995DD19F84868000945BC /* nsMBCSGroupProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsMBCSGroupProber.h; sourceTree = "<group>"; };
131
+ BD4995DE19F84868000945BC /* nsMBCSSM.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsMBCSSM.cpp; sourceTree = "<group>"; };
132
+ BD4995DF19F84868000945BC /* nsPkgInt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsPkgInt.h; sourceTree = "<group>"; };
133
+ BD4995E019F84868000945BC /* nsSBCharSetProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsSBCharSetProber.cpp; sourceTree = "<group>"; };
134
+ BD4995E119F84868000945BC /* nsSBCharSetProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsSBCharSetProber.h; sourceTree = "<group>"; };
135
+ BD4995E219F84868000945BC /* nsSBCSGroupProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsSBCSGroupProber.cpp; sourceTree = "<group>"; };
136
+ BD4995E319F84868000945BC /* nsSBCSGroupProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsSBCSGroupProber.h; sourceTree = "<group>"; };
137
+ BD4995E419F84868000945BC /* nsSJISProber.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsSJISProber.cpp; sourceTree = "<group>"; };
138
+ BD4995E519F84868000945BC /* nsSJISProber.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsSJISProber.h; sourceTree = "<group>"; };
139
+ BD4995E619F84868000945BC /* nsUniversalDetector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsUniversalDetector.cpp; sourceTree = "<group>"; };
140
+ BD4995E719F84868000945BC /* nsUniversalDetector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsUniversalDetector.h; sourceTree = "<group>"; };
141
+ BD4995E819F84868000945BC /* nsUTF8Prober.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = nsUTF8Prober.cpp; sourceTree = "<group>"; };
142
+ BD4995E919F84868000945BC /* nsUTF8Prober.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nsUTF8Prober.h; sourceTree = "<group>"; };
143
+ BD4995EA19F84868000945BC /* prmem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = prmem.h; sourceTree = "<group>"; };
144
+ BD4995EF19F84868000945BC /* uchardet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = uchardet.cpp; sourceTree = "<group>"; };
145
+ BD4995F019F84868000945BC /* uchardet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = uchardet.h; sourceTree = "<group>"; };
146
+ BD49960D19F848DC000945BC /* uchardet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = uchardet.cpp; sourceTree = "<group>"; };
147
+ BD49963419FC04E8000945BC /* libuchardet-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libuchardet-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
148
+ /* End PBXFileReference section */
149
+
150
+ /* Begin PBXFrameworksBuildPhase section */
151
+ BD49959919F84840000945BC /* Frameworks */ = {
152
+ isa = PBXFrameworksBuildPhase;
153
+ buildActionMask = 2147483647;
154
+ files = (
155
+ );
156
+ runOnlyForDeploymentPostprocessing = 0;
157
+ };
158
+ BD49962E19FC04E8000945BC /* Frameworks */ = {
159
+ isa = PBXFrameworksBuildPhase;
160
+ buildActionMask = 2147483647;
161
+ files = (
162
+ );
163
+ runOnlyForDeploymentPostprocessing = 0;
164
+ };
165
+ /* End PBXFrameworksBuildPhase section */
166
+
167
+ /* Begin PBXGroup section */
168
+ BD49959319F84840000945BC = {
169
+ isa = PBXGroup;
170
+ children = (
171
+ BD49960C19F848BA000945BC /* supporting files */,
172
+ BD4995B619F84868000945BC /* src */,
173
+ BD49959D19F84840000945BC /* Products */,
174
+ );
175
+ sourceTree = "<group>";
176
+ };
177
+ BD49959D19F84840000945BC /* Products */ = {
178
+ isa = PBXGroup;
179
+ children = (
180
+ BD49959C19F84840000945BC /* libuchardet.a */,
181
+ BD49963419FC04E8000945BC /* libuchardet-ios.a */,
182
+ );
183
+ name = Products;
184
+ sourceTree = "<group>";
185
+ };
186
+ BD4995B619F84868000945BC /* src */ = {
187
+ isa = PBXGroup;
188
+ children = (
189
+ BD4995B719F84868000945BC /* Big5Freq.tab */,
190
+ BD4995B819F84868000945BC /* CharDistribution.cpp */,
191
+ BD4995B919F84868000945BC /* CharDistribution.h */,
192
+ BD4995BB19F84868000945BC /* EUCKRFreq.tab */,
193
+ BD4995BC19F84868000945BC /* EUCTWFreq.tab */,
194
+ BD4995BD19F84868000945BC /* GB2312Freq.tab */,
195
+ BD4995BE19F84868000945BC /* JISFreq.tab */,
196
+ BD4995BF19F84868000945BC /* JpCntx.cpp */,
197
+ BD4995C019F84868000945BC /* JpCntx.h */,
198
+ BD4995C119F84868000945BC /* LangBulgarianModel.cpp */,
199
+ BD4995C219F84868000945BC /* LangCyrillicModel.cpp */,
200
+ BD4995C319F84868000945BC /* LangGreekModel.cpp */,
201
+ BD4995C419F84868000945BC /* LangHebrewModel.cpp */,
202
+ BD4995C519F84868000945BC /* LangHungarianModel.cpp */,
203
+ BD4995C619F84868000945BC /* LangThaiModel.cpp */,
204
+ BD4995C719F84868000945BC /* nsBig5Prober.cpp */,
205
+ BD4995C819F84868000945BC /* nsBig5Prober.h */,
206
+ BD4995C919F84868000945BC /* nsCharSetProber.cpp */,
207
+ BD4995CA19F84868000945BC /* nsCharSetProber.h */,
208
+ BD4995CB19F84868000945BC /* nsCodingStateMachine.h */,
209
+ BD4995CC19F84868000945BC /* nscore.h */,
210
+ BD4995CD19F84868000945BC /* nsEscCharsetProber.cpp */,
211
+ BD4995CE19F84868000945BC /* nsEscCharsetProber.h */,
212
+ BD4995CF19F84868000945BC /* nsEscSM.cpp */,
213
+ BD4995D019F84868000945BC /* nsEUCJPProber.cpp */,
214
+ BD4995D119F84868000945BC /* nsEUCJPProber.h */,
215
+ BD4995D219F84868000945BC /* nsEUCKRProber.cpp */,
216
+ BD4995D319F84868000945BC /* nsEUCKRProber.h */,
217
+ BD4995D419F84868000945BC /* nsEUCTWProber.cpp */,
218
+ BD4995D519F84868000945BC /* nsEUCTWProber.h */,
219
+ BD4995D619F84868000945BC /* nsGB2312Prober.cpp */,
220
+ BD4995D719F84868000945BC /* nsGB2312Prober.h */,
221
+ BD4995D819F84868000945BC /* nsHebrewProber.cpp */,
222
+ BD4995D919F84868000945BC /* nsHebrewProber.h */,
223
+ BD4995DA19F84868000945BC /* nsLatin1Prober.cpp */,
224
+ BD4995DB19F84868000945BC /* nsLatin1Prober.h */,
225
+ BD4995DC19F84868000945BC /* nsMBCSGroupProber.cpp */,
226
+ BD4995DD19F84868000945BC /* nsMBCSGroupProber.h */,
227
+ BD4995DE19F84868000945BC /* nsMBCSSM.cpp */,
228
+ BD4995DF19F84868000945BC /* nsPkgInt.h */,
229
+ BD4995E019F84868000945BC /* nsSBCharSetProber.cpp */,
230
+ BD4995E119F84868000945BC /* nsSBCharSetProber.h */,
231
+ BD4995E219F84868000945BC /* nsSBCSGroupProber.cpp */,
232
+ BD4995E319F84868000945BC /* nsSBCSGroupProber.h */,
233
+ BD4995E419F84868000945BC /* nsSJISProber.cpp */,
234
+ BD4995E519F84868000945BC /* nsSJISProber.h */,
235
+ BD4995E619F84868000945BC /* nsUniversalDetector.cpp */,
236
+ BD4995E719F84868000945BC /* nsUniversalDetector.h */,
237
+ BD4995E819F84868000945BC /* nsUTF8Prober.cpp */,
238
+ BD4995E919F84868000945BC /* nsUTF8Prober.h */,
239
+ BD4995EA19F84868000945BC /* prmem.h */,
240
+ BD4995EF19F84868000945BC /* uchardet.cpp */,
241
+ BD4995F019F84868000945BC /* uchardet.h */,
242
+ );
243
+ name = src;
244
+ path = ../src;
245
+ sourceTree = "<group>";
246
+ };
247
+ BD49960C19F848BA000945BC /* supporting files */ = {
248
+ isa = PBXGroup;
249
+ children = (
250
+ BD49960D19F848DC000945BC /* uchardet.cpp */,
251
+ );
252
+ name = "supporting files";
253
+ sourceTree = "<group>";
254
+ };
255
+ /* End PBXGroup section */
256
+
257
+ /* Begin PBXNativeTarget section */
258
+ BD49959B19F84840000945BC /* uchardet */ = {
259
+ isa = PBXNativeTarget;
260
+ buildConfigurationList = BD4995B019F84840000945BC /* Build configuration list for PBXNativeTarget "uchardet" */;
261
+ buildPhases = (
262
+ BD49959819F84840000945BC /* Sources */,
263
+ BD49959919F84840000945BC /* Frameworks */,
264
+ BD49959A19F84840000945BC /* CopyFiles */,
265
+ );
266
+ buildRules = (
267
+ );
268
+ dependencies = (
269
+ );
270
+ name = uchardet;
271
+ productName = uchardet;
272
+ productReference = BD49959C19F84840000945BC /* libuchardet.a */;
273
+ productType = "com.apple.product-type.library.static";
274
+ };
275
+ BD49961119FC04E8000945BC /* uchardet-ios */ = {
276
+ isa = PBXNativeTarget;
277
+ buildConfigurationList = BD49963119FC04E8000945BC /* Build configuration list for PBXNativeTarget "uchardet-ios" */;
278
+ buildPhases = (
279
+ BD49961219FC04E8000945BC /* Sources */,
280
+ BD49962E19FC04E8000945BC /* Frameworks */,
281
+ BD49962F19FC04E8000945BC /* CopyFiles */,
282
+ );
283
+ buildRules = (
284
+ );
285
+ dependencies = (
286
+ );
287
+ name = "uchardet-ios";
288
+ productName = uchardet;
289
+ productReference = BD49963419FC04E8000945BC /* libuchardet-ios.a */;
290
+ productType = "com.apple.product-type.library.static";
291
+ };
292
+ /* End PBXNativeTarget section */
293
+
294
+ /* Begin PBXProject section */
295
+ BD49959419F84840000945BC /* Project object */ = {
296
+ isa = PBXProject;
297
+ attributes = {
298
+ LastUpgradeCheck = 0610;
299
+ ORGANIZATIONNAME = "Hoa Dinh";
300
+ TargetAttributes = {
301
+ BD49959B19F84840000945BC = {
302
+ CreatedOnToolsVersion = 6.1;
303
+ };
304
+ };
305
+ };
306
+ buildConfigurationList = BD49959719F84840000945BC /* Build configuration list for PBXProject "uchardet" */;
307
+ compatibilityVersion = "Xcode 3.2";
308
+ developmentRegion = English;
309
+ hasScannedForEncodings = 0;
310
+ knownRegions = (
311
+ en,
312
+ );
313
+ mainGroup = BD49959319F84840000945BC;
314
+ productRefGroup = BD49959D19F84840000945BC /* Products */;
315
+ projectDirPath = "";
316
+ projectRoot = "";
317
+ targets = (
318
+ BD49959B19F84840000945BC /* uchardet */,
319
+ BD49961119FC04E8000945BC /* uchardet-ios */,
320
+ );
321
+ };
322
+ /* End PBXProject section */
323
+
324
+ /* Begin PBXSourcesBuildPhase section */
325
+ BD49959819F84840000945BC /* Sources */ = {
326
+ isa = PBXSourcesBuildPhase;
327
+ buildActionMask = 2147483647;
328
+ files = (
329
+ BD49960319F84868000945BC /* nsMBCSGroupProber.cpp in Sources */,
330
+ BD4995F419F84868000945BC /* LangCyrillicModel.cpp in Sources */,
331
+ BD49960F19F848DC000945BC /* uchardet.cpp in Sources */,
332
+ BD49960719F84868000945BC /* nsSJISProber.cpp in Sources */,
333
+ BD49960119F84868000945BC /* nsHebrewProber.cpp in Sources */,
334
+ BD49960619F84868000945BC /* nsSBCSGroupProber.cpp in Sources */,
335
+ BD49960419F84868000945BC /* nsMBCSSM.cpp in Sources */,
336
+ BD4995F319F84868000945BC /* LangBulgarianModel.cpp in Sources */,
337
+ BD4995F619F84868000945BC /* LangHebrewModel.cpp in Sources */,
338
+ BD4995FF19F84868000945BC /* nsEUCTWProber.cpp in Sources */,
339
+ BD4995F819F84868000945BC /* LangThaiModel.cpp in Sources */,
340
+ BD49960B19F84868000945BC /* uchardet.cpp in Sources */,
341
+ BD4995FC19F84868000945BC /* nsEscSM.cpp in Sources */,
342
+ BD49960919F84868000945BC /* nsUTF8Prober.cpp in Sources */,
343
+ BD4995F519F84868000945BC /* LangGreekModel.cpp in Sources */,
344
+ BD49960819F84868000945BC /* nsUniversalDetector.cpp in Sources */,
345
+ BD49960519F84868000945BC /* nsSBCharSetProber.cpp in Sources */,
346
+ BD4995F719F84868000945BC /* LangHungarianModel.cpp in Sources */,
347
+ BD4995FD19F84868000945BC /* nsEUCJPProber.cpp in Sources */,
348
+ BD4995F219F84868000945BC /* JpCntx.cpp in Sources */,
349
+ BD4995FA19F84868000945BC /* nsCharSetProber.cpp in Sources */,
350
+ BD4995FB19F84868000945BC /* nsEscCharsetProber.cpp in Sources */,
351
+ BD4995FE19F84868000945BC /* nsEUCKRProber.cpp in Sources */,
352
+ BD4995F919F84868000945BC /* nsBig5Prober.cpp in Sources */,
353
+ BD4995F119F84868000945BC /* CharDistribution.cpp in Sources */,
354
+ BD49960019F84868000945BC /* nsGB2312Prober.cpp in Sources */,
355
+ BD49960219F84868000945BC /* nsLatin1Prober.cpp in Sources */,
356
+ );
357
+ runOnlyForDeploymentPostprocessing = 0;
358
+ };
359
+ BD49961219FC04E8000945BC /* Sources */ = {
360
+ isa = PBXSourcesBuildPhase;
361
+ buildActionMask = 2147483647;
362
+ files = (
363
+ BD49961319FC04E8000945BC /* nsMBCSGroupProber.cpp in Sources */,
364
+ BD49961419FC04E8000945BC /* LangCyrillicModel.cpp in Sources */,
365
+ BD49961519FC04E8000945BC /* uchardet.cpp in Sources */,
366
+ BD49961619FC04E8000945BC /* nsSJISProber.cpp in Sources */,
367
+ BD49961719FC04E8000945BC /* nsHebrewProber.cpp in Sources */,
368
+ BD49961819FC04E8000945BC /* nsSBCSGroupProber.cpp in Sources */,
369
+ BD49961919FC04E8000945BC /* nsMBCSSM.cpp in Sources */,
370
+ BD49961A19FC04E8000945BC /* LangBulgarianModel.cpp in Sources */,
371
+ BD49961B19FC04E8000945BC /* LangHebrewModel.cpp in Sources */,
372
+ BD49961C19FC04E8000945BC /* nsEUCTWProber.cpp in Sources */,
373
+ BD49961D19FC04E8000945BC /* LangThaiModel.cpp in Sources */,
374
+ BD49961E19FC04E8000945BC /* uchardet.cpp in Sources */,
375
+ BD49961F19FC04E8000945BC /* nsEscSM.cpp in Sources */,
376
+ BD49962019FC04E8000945BC /* nsUTF8Prober.cpp in Sources */,
377
+ BD49962119FC04E8000945BC /* LangGreekModel.cpp in Sources */,
378
+ BD49962219FC04E8000945BC /* nsUniversalDetector.cpp in Sources */,
379
+ BD49962319FC04E8000945BC /* nsSBCharSetProber.cpp in Sources */,
380
+ BD49962419FC04E8000945BC /* LangHungarianModel.cpp in Sources */,
381
+ BD49962519FC04E8000945BC /* nsEUCJPProber.cpp in Sources */,
382
+ BD49962619FC04E8000945BC /* JpCntx.cpp in Sources */,
383
+ BD49962719FC04E8000945BC /* nsCharSetProber.cpp in Sources */,
384
+ BD49962819FC04E8000945BC /* nsEscCharsetProber.cpp in Sources */,
385
+ BD49962919FC04E8000945BC /* nsEUCKRProber.cpp in Sources */,
386
+ BD49962A19FC04E8000945BC /* nsBig5Prober.cpp in Sources */,
387
+ BD49962B19FC04E8000945BC /* CharDistribution.cpp in Sources */,
388
+ BD49962C19FC04E8000945BC /* nsGB2312Prober.cpp in Sources */,
389
+ BD49962D19FC04E8000945BC /* nsLatin1Prober.cpp in Sources */,
390
+ );
391
+ runOnlyForDeploymentPostprocessing = 0;
392
+ };
393
+ /* End PBXSourcesBuildPhase section */
394
+
395
+ /* Begin XCBuildConfiguration section */
396
+ BD4995AE19F84840000945BC /* Debug */ = {
397
+ isa = XCBuildConfiguration;
398
+ buildSettings = {
399
+ ALWAYS_SEARCH_USER_PATHS = NO;
400
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
401
+ CLANG_CXX_LIBRARY = "libc++";
402
+ CLANG_ENABLE_MODULES = YES;
403
+ CLANG_ENABLE_OBJC_ARC = YES;
404
+ CLANG_WARN_BOOL_CONVERSION = YES;
405
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
406
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
407
+ CLANG_WARN_EMPTY_BODY = YES;
408
+ CLANG_WARN_ENUM_CONVERSION = YES;
409
+ CLANG_WARN_INT_CONVERSION = YES;
410
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
411
+ CLANG_WARN_UNREACHABLE_CODE = YES;
412
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
413
+ COPY_PHASE_STRIP = NO;
414
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
415
+ GCC_C_LANGUAGE_STANDARD = gnu99;
416
+ GCC_DYNAMIC_NO_PIC = NO;
417
+ GCC_OPTIMIZATION_LEVEL = 0;
418
+ GCC_PREPROCESSOR_DEFINITIONS = (
419
+ "DEBUG=1",
420
+ "$(inherited)",
421
+ );
422
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
423
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
424
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
425
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
426
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
427
+ GCC_WARN_UNUSED_FUNCTION = YES;
428
+ GCC_WARN_UNUSED_VARIABLE = YES;
429
+ IPHONEOS_DEPLOYMENT_TARGET = 8.1;
430
+ MTL_ENABLE_DEBUG_INFO = YES;
431
+ ONLY_ACTIVE_ARCH = YES;
432
+ SDKROOT = iphoneos;
433
+ };
434
+ name = Debug;
435
+ };
436
+ BD4995AF19F84840000945BC /* Release */ = {
437
+ isa = XCBuildConfiguration;
438
+ buildSettings = {
439
+ ALWAYS_SEARCH_USER_PATHS = NO;
440
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
441
+ CLANG_CXX_LIBRARY = "libc++";
442
+ CLANG_ENABLE_MODULES = YES;
443
+ CLANG_ENABLE_OBJC_ARC = YES;
444
+ CLANG_WARN_BOOL_CONVERSION = YES;
445
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
446
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
447
+ CLANG_WARN_EMPTY_BODY = YES;
448
+ CLANG_WARN_ENUM_CONVERSION = YES;
449
+ CLANG_WARN_INT_CONVERSION = YES;
450
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
451
+ CLANG_WARN_UNREACHABLE_CODE = YES;
452
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
453
+ COPY_PHASE_STRIP = YES;
454
+ ENABLE_NS_ASSERTIONS = NO;
455
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
456
+ GCC_C_LANGUAGE_STANDARD = gnu99;
457
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
458
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
459
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
460
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
461
+ GCC_WARN_UNUSED_FUNCTION = YES;
462
+ GCC_WARN_UNUSED_VARIABLE = YES;
463
+ IPHONEOS_DEPLOYMENT_TARGET = 8.1;
464
+ MTL_ENABLE_DEBUG_INFO = NO;
465
+ SDKROOT = iphoneos;
466
+ VALIDATE_PRODUCT = YES;
467
+ };
468
+ name = Release;
469
+ };
470
+ BD4995B119F84840000945BC /* Debug */ = {
471
+ isa = XCBuildConfiguration;
472
+ buildSettings = {
473
+ OTHER_LDFLAGS = "-ObjC";
474
+ PRODUCT_NAME = "$(TARGET_NAME)";
475
+ SDKROOT = macosx;
476
+ SKIP_INSTALL = YES;
477
+ };
478
+ name = Debug;
479
+ };
480
+ BD4995B219F84840000945BC /* Release */ = {
481
+ isa = XCBuildConfiguration;
482
+ buildSettings = {
483
+ OTHER_LDFLAGS = "-ObjC";
484
+ PRODUCT_NAME = "$(TARGET_NAME)";
485
+ SDKROOT = macosx;
486
+ SKIP_INSTALL = YES;
487
+ };
488
+ name = Release;
489
+ };
490
+ BD49963219FC04E8000945BC /* Debug */ = {
491
+ isa = XCBuildConfiguration;
492
+ buildSettings = {
493
+ OTHER_LDFLAGS = "-ObjC";
494
+ PRODUCT_NAME = "uchardet-ios";
495
+ SDKROOT = iphoneos;
496
+ SKIP_INSTALL = YES;
497
+ };
498
+ name = Debug;
499
+ };
500
+ BD49963319FC04E8000945BC /* Release */ = {
501
+ isa = XCBuildConfiguration;
502
+ buildSettings = {
503
+ OTHER_LDFLAGS = "-ObjC";
504
+ PRODUCT_NAME = "uchardet-ios";
505
+ SDKROOT = iphoneos;
506
+ SKIP_INSTALL = YES;
507
+ };
508
+ name = Release;
509
+ };
510
+ /* End XCBuildConfiguration section */
511
+
512
+ /* Begin XCConfigurationList section */
513
+ BD49959719F84840000945BC /* Build configuration list for PBXProject "uchardet" */ = {
514
+ isa = XCConfigurationList;
515
+ buildConfigurations = (
516
+ BD4995AE19F84840000945BC /* Debug */,
517
+ BD4995AF19F84840000945BC /* Release */,
518
+ );
519
+ defaultConfigurationIsVisible = 0;
520
+ defaultConfigurationName = Release;
521
+ };
522
+ BD4995B019F84840000945BC /* Build configuration list for PBXNativeTarget "uchardet" */ = {
523
+ isa = XCConfigurationList;
524
+ buildConfigurations = (
525
+ BD4995B119F84840000945BC /* Debug */,
526
+ BD4995B219F84840000945BC /* Release */,
527
+ );
528
+ defaultConfigurationIsVisible = 0;
529
+ defaultConfigurationName = Release;
530
+ };
531
+ BD49963119FC04E8000945BC /* Build configuration list for PBXNativeTarget "uchardet-ios" */ = {
532
+ isa = XCConfigurationList;
533
+ buildConfigurations = (
534
+ BD49963219FC04E8000945BC /* Debug */,
535
+ BD49963319FC04E8000945BC /* Release */,
536
+ );
537
+ defaultConfigurationIsVisible = 0;
538
+ defaultConfigurationName = Release;
539
+ };
540
+ /* End XCConfigurationList section */
541
+ };
542
+ rootObject = BD49959419F84840000945BC /* Project object */;
543
+ }