ires 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1024) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -45
  3. data/ext/Gopkg.lock +31 -1
  4. data/ext/ires/image.go +227 -0
  5. data/ext/ires/ires.go +47 -59
  6. data/ext/ires/uri.go +143 -0
  7. data/ext/main.go +18 -9
  8. data/ext/vendor/github.com/PuerkitoBio/purell/LICENSE +12 -0
  9. data/ext/vendor/github.com/PuerkitoBio/purell/README.md +187 -0
  10. data/ext/vendor/github.com/PuerkitoBio/purell/bench_test.go +57 -0
  11. data/ext/vendor/github.com/PuerkitoBio/purell/benchmarks/v0.1.0 +9 -0
  12. data/ext/vendor/github.com/PuerkitoBio/purell/example_test.go +35 -0
  13. data/ext/vendor/github.com/PuerkitoBio/purell/purell.go +379 -0
  14. data/ext/vendor/github.com/PuerkitoBio/purell/purell_test.go +768 -0
  15. data/ext/vendor/github.com/PuerkitoBio/purell/urlnorm_test.go +53 -0
  16. data/ext/vendor/github.com/PuerkitoBio/urlesc/LICENSE +27 -0
  17. data/ext/vendor/github.com/PuerkitoBio/urlesc/README.md +16 -0
  18. data/ext/vendor/github.com/PuerkitoBio/urlesc/urlesc.go +180 -0
  19. data/ext/vendor/github.com/PuerkitoBio/urlesc/urlesc_test.go +641 -0
  20. data/ext/vendor/github.com/{satori/go.uuid → goware/urlx}/LICENSE +3 -1
  21. data/ext/vendor/github.com/goware/urlx/README.md +172 -0
  22. data/ext/vendor/github.com/goware/urlx/urlx.go +196 -0
  23. data/ext/vendor/github.com/goware/urlx/urlx_test.go +232 -0
  24. data/ext/vendor/golang.org/x/net/AUTHORS +3 -0
  25. data/ext/vendor/golang.org/x/net/CONTRIBUTING.md +31 -0
  26. data/ext/vendor/golang.org/x/net/CONTRIBUTORS +3 -0
  27. data/ext/vendor/golang.org/x/net/LICENSE +27 -0
  28. data/ext/vendor/golang.org/x/net/PATENTS +22 -0
  29. data/ext/vendor/golang.org/x/net/README.md +16 -0
  30. data/ext/vendor/golang.org/x/net/bpf/asm.go +41 -0
  31. data/ext/vendor/golang.org/x/net/bpf/constants.go +218 -0
  32. data/ext/vendor/golang.org/x/net/bpf/doc.go +82 -0
  33. data/ext/vendor/golang.org/x/net/bpf/instructions.go +704 -0
  34. data/ext/vendor/golang.org/x/net/bpf/instructions_test.go +525 -0
  35. data/ext/vendor/golang.org/x/net/bpf/setter.go +10 -0
  36. data/ext/vendor/golang.org/x/net/bpf/testdata/all_instructions.bpf +1 -0
  37. data/ext/vendor/golang.org/x/net/bpf/testdata/all_instructions.txt +79 -0
  38. data/ext/vendor/golang.org/x/net/bpf/vm.go +140 -0
  39. data/ext/vendor/golang.org/x/net/bpf/vm_aluop_test.go +512 -0
  40. data/ext/vendor/golang.org/x/net/bpf/vm_bpf_test.go +192 -0
  41. data/ext/vendor/golang.org/x/net/bpf/vm_extension_test.go +49 -0
  42. data/ext/vendor/golang.org/x/net/bpf/vm_instructions.go +174 -0
  43. data/ext/vendor/golang.org/x/net/bpf/vm_jump_test.go +380 -0
  44. data/ext/vendor/golang.org/x/net/bpf/vm_load_test.go +246 -0
  45. data/ext/vendor/golang.org/x/net/bpf/vm_ret_test.go +115 -0
  46. data/ext/vendor/golang.org/x/net/bpf/vm_scratch_test.go +247 -0
  47. data/ext/vendor/golang.org/x/net/bpf/vm_test.go +144 -0
  48. data/ext/vendor/golang.org/x/net/codereview.cfg +1 -0
  49. data/ext/vendor/golang.org/x/net/context/context.go +54 -0
  50. data/ext/vendor/golang.org/x/net/context/context_test.go +583 -0
  51. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go +74 -0
  52. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_17_test.go +29 -0
  53. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go +147 -0
  54. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17_test.go +79 -0
  55. data/ext/vendor/golang.org/x/net/context/ctxhttp/ctxhttp_test.go +105 -0
  56. data/ext/vendor/golang.org/x/net/context/go17.go +72 -0
  57. data/ext/vendor/golang.org/x/net/context/go19.go +20 -0
  58. data/ext/vendor/golang.org/x/net/context/pre_go17.go +300 -0
  59. data/ext/vendor/golang.org/x/net/context/pre_go19.go +109 -0
  60. data/ext/vendor/golang.org/x/net/context/withtimeout_test.go +31 -0
  61. data/ext/vendor/golang.org/x/net/dict/dict.go +210 -0
  62. data/ext/vendor/golang.org/x/net/dns/dnsmessage/example_test.go +132 -0
  63. data/ext/vendor/golang.org/x/net/dns/dnsmessage/message.go +1997 -0
  64. data/ext/vendor/golang.org/x/net/dns/dnsmessage/message_test.go +1116 -0
  65. data/ext/vendor/golang.org/x/net/html/atom/atom.go +78 -0
  66. data/ext/vendor/golang.org/x/net/html/atom/atom_test.go +109 -0
  67. data/ext/vendor/golang.org/x/net/html/atom/gen.go +709 -0
  68. data/ext/vendor/golang.org/x/net/html/atom/table.go +777 -0
  69. data/ext/vendor/golang.org/x/net/html/atom/table_test.go +373 -0
  70. data/ext/vendor/golang.org/x/net/html/charset/charset.go +257 -0
  71. data/ext/vendor/golang.org/x/net/html/charset/charset_test.go +237 -0
  72. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-charset.html +48 -0
  73. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-UTF-8-BOM.html +48 -0
  74. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-charset.html +49 -0
  75. data/ext/vendor/golang.org/x/net/html/charset/testdata/HTTP-vs-meta-content.html +49 -0
  76. data/ext/vendor/golang.org/x/net/html/charset/testdata/No-encoding-declaration.html +47 -0
  77. data/ext/vendor/golang.org/x/net/html/charset/testdata/README +9 -0
  78. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html +0 -0
  79. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html +0 -0
  80. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-charset.html +49 -0
  81. data/ext/vendor/golang.org/x/net/html/charset/testdata/UTF-8-BOM-vs-meta-content.html +48 -0
  82. data/ext/vendor/golang.org/x/net/html/charset/testdata/meta-charset-attribute.html +48 -0
  83. data/ext/vendor/golang.org/x/net/html/charset/testdata/meta-content-attribute.html +48 -0
  84. data/ext/vendor/golang.org/x/net/html/const.go +104 -0
  85. data/ext/vendor/golang.org/x/net/html/doc.go +106 -0
  86. data/ext/vendor/golang.org/x/net/html/doctype.go +156 -0
  87. data/ext/vendor/golang.org/x/net/html/entity.go +2253 -0
  88. data/ext/vendor/golang.org/x/net/html/entity_test.go +29 -0
  89. data/ext/vendor/golang.org/x/net/html/escape.go +258 -0
  90. data/ext/vendor/golang.org/x/net/html/escape_test.go +97 -0
  91. data/ext/vendor/golang.org/x/net/html/example_test.go +40 -0
  92. data/ext/vendor/golang.org/x/net/html/foreign.go +226 -0
  93. data/ext/vendor/golang.org/x/net/html/node.go +193 -0
  94. data/ext/vendor/golang.org/x/net/html/node_test.go +146 -0
  95. data/ext/vendor/golang.org/x/net/html/parse.go +2094 -0
  96. data/ext/vendor/golang.org/x/net/html/parse_test.go +388 -0
  97. data/ext/vendor/golang.org/x/net/html/render.go +271 -0
  98. data/ext/vendor/golang.org/x/net/html/render_test.go +156 -0
  99. data/ext/vendor/golang.org/x/net/html/testdata/go1.html +2237 -0
  100. data/ext/vendor/golang.org/x/net/html/testdata/webkit/README +28 -0
  101. data/ext/vendor/golang.org/x/net/html/testdata/webkit/adoption01.dat +194 -0
  102. data/ext/vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat +31 -0
  103. data/ext/vendor/golang.org/x/net/html/testdata/webkit/comments01.dat +135 -0
  104. data/ext/vendor/golang.org/x/net/html/testdata/webkit/doctype01.dat +370 -0
  105. data/ext/vendor/golang.org/x/net/html/testdata/webkit/entities01.dat +603 -0
  106. data/ext/vendor/golang.org/x/net/html/testdata/webkit/entities02.dat +249 -0
  107. data/ext/vendor/golang.org/x/net/html/testdata/webkit/html5test-com.dat +246 -0
  108. data/ext/vendor/golang.org/x/net/html/testdata/webkit/inbody01.dat +43 -0
  109. data/ext/vendor/golang.org/x/net/html/testdata/webkit/isindex.dat +40 -0
  110. data/ext/vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat +0 -0
  111. data/ext/vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes.dat +52 -0
  112. data/ext/vendor/golang.org/x/net/html/testdata/webkit/plain-text-unsafe.dat +0 -0
  113. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scriptdata01.dat +308 -0
  114. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat +15 -0
  115. data/ext/vendor/golang.org/x/net/html/testdata/webkit/scripted/webkit01.dat +28 -0
  116. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tables01.dat +212 -0
  117. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests1.dat +1952 -0
  118. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests10.dat +799 -0
  119. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests11.dat +482 -0
  120. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests12.dat +62 -0
  121. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests14.dat +74 -0
  122. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests15.dat +208 -0
  123. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests16.dat +2299 -0
  124. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests17.dat +153 -0
  125. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests18.dat +269 -0
  126. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests19.dat +1237 -0
  127. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests2.dat +763 -0
  128. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests20.dat +455 -0
  129. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests21.dat +221 -0
  130. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests22.dat +157 -0
  131. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests23.dat +155 -0
  132. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests24.dat +79 -0
  133. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests25.dat +219 -0
  134. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests26.dat +313 -0
  135. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests3.dat +305 -0
  136. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests4.dat +59 -0
  137. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests5.dat +191 -0
  138. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests6.dat +663 -0
  139. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests7.dat +390 -0
  140. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests8.dat +148 -0
  141. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests9.dat +457 -0
  142. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tests_innerHTML_1.dat +741 -0
  143. data/ext/vendor/golang.org/x/net/html/testdata/webkit/tricky01.dat +261 -0
  144. data/ext/vendor/golang.org/x/net/html/testdata/webkit/webkit01.dat +610 -0
  145. data/ext/vendor/golang.org/x/net/html/testdata/webkit/webkit02.dat +159 -0
  146. data/ext/vendor/golang.org/x/net/html/token.go +1219 -0
  147. data/ext/vendor/golang.org/x/net/html/token_test.go +748 -0
  148. data/ext/vendor/golang.org/x/net/http2/Dockerfile +51 -0
  149. data/ext/vendor/golang.org/x/net/http2/Makefile +3 -0
  150. data/ext/vendor/golang.org/x/net/http2/README +20 -0
  151. data/ext/vendor/golang.org/x/net/http2/ciphers.go +641 -0
  152. data/ext/vendor/golang.org/x/net/http2/ciphers_test.go +309 -0
  153. data/ext/vendor/golang.org/x/net/http2/client_conn_pool.go +256 -0
  154. data/ext/vendor/golang.org/x/net/http2/configure_transport.go +80 -0
  155. data/ext/vendor/golang.org/x/net/http2/databuffer.go +146 -0
  156. data/ext/vendor/golang.org/x/net/http2/databuffer_test.go +157 -0
  157. data/ext/vendor/golang.org/x/net/http2/errors.go +133 -0
  158. data/ext/vendor/golang.org/x/net/http2/errors_test.go +24 -0
  159. data/ext/vendor/golang.org/x/net/http2/flow.go +50 -0
  160. data/ext/vendor/golang.org/x/net/http2/flow_test.go +53 -0
  161. data/ext/vendor/golang.org/x/net/http2/frame.go +1579 -0
  162. data/ext/vendor/golang.org/x/net/http2/frame_test.go +1191 -0
  163. data/ext/vendor/golang.org/x/net/http2/go16.go +16 -0
  164. data/ext/vendor/golang.org/x/net/http2/go17.go +106 -0
  165. data/ext/vendor/golang.org/x/net/http2/go17_not18.go +36 -0
  166. data/ext/vendor/golang.org/x/net/http2/go18.go +56 -0
  167. data/ext/vendor/golang.org/x/net/http2/go18_test.go +79 -0
  168. data/ext/vendor/golang.org/x/net/http2/go19.go +16 -0
  169. data/ext/vendor/golang.org/x/net/http2/go19_test.go +60 -0
  170. data/ext/vendor/golang.org/x/net/http2/gotrack.go +170 -0
  171. data/ext/vendor/golang.org/x/net/http2/gotrack_test.go +33 -0
  172. data/ext/vendor/golang.org/x/net/http2/h2demo/Makefile +8 -0
  173. data/ext/vendor/golang.org/x/net/http2/h2demo/README +16 -0
  174. data/ext/vendor/golang.org/x/net/http2/h2demo/h2demo.go +538 -0
  175. data/ext/vendor/golang.org/x/net/http2/h2demo/launch.go +302 -0
  176. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.key +27 -0
  177. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.pem +26 -0
  178. data/ext/vendor/golang.org/x/net/http2/h2demo/rootCA.srl +1 -0
  179. data/ext/vendor/golang.org/x/net/http2/h2demo/server.crt +20 -0
  180. data/ext/vendor/golang.org/x/net/http2/h2demo/server.key +27 -0
  181. data/ext/vendor/golang.org/x/net/http2/h2demo/tmpl.go +1991 -0
  182. data/ext/vendor/golang.org/x/net/http2/h2i/README.md +97 -0
  183. data/ext/vendor/golang.org/x/net/http2/h2i/h2i.go +522 -0
  184. data/ext/vendor/golang.org/x/net/http2/headermap.go +78 -0
  185. data/ext/vendor/golang.org/x/net/http2/hpack/encode.go +240 -0
  186. data/ext/vendor/golang.org/x/net/http2/hpack/encode_test.go +386 -0
  187. data/ext/vendor/golang.org/x/net/http2/hpack/hpack.go +490 -0
  188. data/ext/vendor/golang.org/x/net/http2/hpack/hpack_test.go +722 -0
  189. data/ext/vendor/golang.org/x/net/http2/hpack/huffman.go +212 -0
  190. data/ext/vendor/golang.org/x/net/http2/hpack/tables.go +479 -0
  191. data/ext/vendor/golang.org/x/net/http2/hpack/tables_test.go +214 -0
  192. data/ext/vendor/golang.org/x/net/http2/http2.go +391 -0
  193. data/ext/vendor/golang.org/x/net/http2/http2_test.go +199 -0
  194. data/ext/vendor/golang.org/x/net/http2/not_go16.go +21 -0
  195. data/ext/vendor/golang.org/x/net/http2/not_go17.go +87 -0
  196. data/ext/vendor/golang.org/x/net/http2/not_go18.go +29 -0
  197. data/ext/vendor/golang.org/x/net/http2/not_go19.go +16 -0
  198. data/ext/vendor/golang.org/x/net/http2/pipe.go +163 -0
  199. data/ext/vendor/golang.org/x/net/http2/pipe_test.go +130 -0
  200. data/ext/vendor/golang.org/x/net/http2/server.go +2857 -0
  201. data/ext/vendor/golang.org/x/net/http2/server_push_test.go +521 -0
  202. data/ext/vendor/golang.org/x/net/http2/server_test.go +3721 -0
  203. data/ext/vendor/golang.org/x/net/http2/testdata/draft-ietf-httpbis-http2.xml +5021 -0
  204. data/ext/vendor/golang.org/x/net/http2/transport.go +2285 -0
  205. data/ext/vendor/golang.org/x/net/http2/transport_test.go +3714 -0
  206. data/ext/vendor/golang.org/x/net/http2/write.go +370 -0
  207. data/ext/vendor/golang.org/x/net/http2/writesched.go +242 -0
  208. data/ext/vendor/golang.org/x/net/http2/writesched_priority.go +452 -0
  209. data/ext/vendor/golang.org/x/net/http2/writesched_priority_test.go +541 -0
  210. data/ext/vendor/golang.org/x/net/http2/writesched_random.go +72 -0
  211. data/ext/vendor/golang.org/x/net/http2/writesched_random_test.go +44 -0
  212. data/ext/vendor/golang.org/x/net/http2/writesched_test.go +125 -0
  213. data/ext/vendor/golang.org/x/net/http2/z_spec_test.go +356 -0
  214. data/ext/vendor/golang.org/x/net/icmp/dstunreach.go +41 -0
  215. data/ext/vendor/golang.org/x/net/icmp/echo.go +45 -0
  216. data/ext/vendor/golang.org/x/net/icmp/endpoint.go +113 -0
  217. data/ext/vendor/golang.org/x/net/icmp/example_test.go +63 -0
  218. data/ext/vendor/golang.org/x/net/icmp/extension.go +89 -0
  219. data/ext/vendor/golang.org/x/net/icmp/extension_test.go +259 -0
  220. data/ext/vendor/golang.org/x/net/icmp/helper_posix.go +75 -0
  221. data/ext/vendor/golang.org/x/net/icmp/interface.go +236 -0
  222. data/ext/vendor/golang.org/x/net/icmp/ipv4.go +61 -0
  223. data/ext/vendor/golang.org/x/net/icmp/ipv4_test.go +83 -0
  224. data/ext/vendor/golang.org/x/net/icmp/ipv6.go +23 -0
  225. data/ext/vendor/golang.org/x/net/icmp/listen_posix.go +100 -0
  226. data/ext/vendor/golang.org/x/net/icmp/listen_stub.go +33 -0
  227. data/ext/vendor/golang.org/x/net/icmp/message.go +152 -0
  228. data/ext/vendor/golang.org/x/net/icmp/message_test.go +134 -0
  229. data/ext/vendor/golang.org/x/net/icmp/messagebody.go +41 -0
  230. data/ext/vendor/golang.org/x/net/icmp/mpls.go +77 -0
  231. data/ext/vendor/golang.org/x/net/icmp/multipart.go +109 -0
  232. data/ext/vendor/golang.org/x/net/icmp/multipart_test.go +442 -0
  233. data/ext/vendor/golang.org/x/net/icmp/packettoobig.go +43 -0
  234. data/ext/vendor/golang.org/x/net/icmp/paramprob.go +63 -0
  235. data/ext/vendor/golang.org/x/net/icmp/ping_test.go +200 -0
  236. data/ext/vendor/golang.org/x/net/icmp/sys_freebsd.go +11 -0
  237. data/ext/vendor/golang.org/x/net/icmp/timeexceeded.go +39 -0
  238. data/ext/vendor/golang.org/x/net/idna/example_test.go +70 -0
  239. data/ext/vendor/golang.org/x/net/idna/idna.go +680 -0
  240. data/ext/vendor/golang.org/x/net/idna/idna_test.go +108 -0
  241. data/ext/vendor/golang.org/x/net/idna/punycode.go +203 -0
  242. data/ext/vendor/golang.org/x/net/idna/punycode_test.go +198 -0
  243. data/ext/vendor/golang.org/x/net/idna/tables.go +4477 -0
  244. data/ext/vendor/golang.org/x/net/idna/trie.go +72 -0
  245. data/ext/vendor/golang.org/x/net/idna/trieval.go +114 -0
  246. data/ext/vendor/golang.org/x/net/internal/iana/const.go +180 -0
  247. data/ext/vendor/golang.org/x/net/internal/iana/gen.go +293 -0
  248. data/ext/vendor/golang.org/x/net/internal/nettest/helper_bsd.go +53 -0
  249. data/ext/vendor/golang.org/x/net/internal/nettest/helper_nobsd.go +15 -0
  250. data/ext/vendor/golang.org/x/net/internal/nettest/helper_posix.go +31 -0
  251. data/ext/vendor/golang.org/x/net/internal/nettest/helper_stub.go +32 -0
  252. data/ext/vendor/golang.org/x/net/internal/nettest/helper_unix.go +29 -0
  253. data/ext/vendor/golang.org/x/net/internal/nettest/helper_windows.go +42 -0
  254. data/ext/vendor/golang.org/x/net/internal/nettest/interface.go +94 -0
  255. data/ext/vendor/golang.org/x/net/internal/nettest/rlimit.go +11 -0
  256. data/ext/vendor/golang.org/x/net/internal/nettest/stack.go +147 -0
  257. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr.go +11 -0
  258. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go +13 -0
  259. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_32bit.go +14 -0
  260. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go +14 -0
  261. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_solaris_64bit.go +14 -0
  262. data/ext/vendor/golang.org/x/net/internal/socket/cmsghdr_stub.go +17 -0
  263. data/ext/vendor/golang.org/x/net/internal/socket/defs_darwin.go +44 -0
  264. data/ext/vendor/golang.org/x/net/internal/socket/defs_dragonfly.go +44 -0
  265. data/ext/vendor/golang.org/x/net/internal/socket/defs_freebsd.go +44 -0
  266. data/ext/vendor/golang.org/x/net/internal/socket/defs_linux.go +49 -0
  267. data/ext/vendor/golang.org/x/net/internal/socket/defs_netbsd.go +47 -0
  268. data/ext/vendor/golang.org/x/net/internal/socket/defs_openbsd.go +44 -0
  269. data/ext/vendor/golang.org/x/net/internal/socket/defs_solaris.go +44 -0
  270. data/ext/vendor/golang.org/x/net/internal/socket/error_unix.go +31 -0
  271. data/ext/vendor/golang.org/x/net/internal/socket/error_windows.go +26 -0
  272. data/ext/vendor/golang.org/x/net/internal/socket/iovec_32bit.go +19 -0
  273. data/ext/vendor/golang.org/x/net/internal/socket/iovec_64bit.go +19 -0
  274. data/ext/vendor/golang.org/x/net/internal/socket/iovec_solaris_64bit.go +19 -0
  275. data/ext/vendor/golang.org/x/net/internal/socket/iovec_stub.go +11 -0
  276. data/ext/vendor/golang.org/x/net/internal/socket/mmsghdr_stub.go +21 -0
  277. data/ext/vendor/golang.org/x/net/internal/socket/mmsghdr_unix.go +42 -0
  278. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go +39 -0
  279. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go +16 -0
  280. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux.go +36 -0
  281. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux_32bit.go +24 -0
  282. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go +24 -0
  283. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go +14 -0
  284. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_solaris_64bit.go +36 -0
  285. data/ext/vendor/golang.org/x/net/internal/socket/msghdr_stub.go +14 -0
  286. data/ext/vendor/golang.org/x/net/internal/socket/rawconn.go +66 -0
  287. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_mmsg.go +74 -0
  288. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_msg.go +77 -0
  289. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_nommsg.go +18 -0
  290. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_nomsg.go +18 -0
  291. data/ext/vendor/golang.org/x/net/internal/socket/rawconn_stub.go +25 -0
  292. data/ext/vendor/golang.org/x/net/internal/socket/reflect.go +62 -0
  293. data/ext/vendor/golang.org/x/net/internal/socket/socket.go +285 -0
  294. data/ext/vendor/golang.org/x/net/internal/socket/socket_go1_9_test.go +259 -0
  295. data/ext/vendor/golang.org/x/net/internal/socket/socket_test.go +46 -0
  296. data/ext/vendor/golang.org/x/net/internal/socket/sys.go +33 -0
  297. data/ext/vendor/golang.org/x/net/internal/socket/sys_bsd.go +17 -0
  298. data/ext/vendor/golang.org/x/net/internal/socket/sys_bsdvar.go +14 -0
  299. data/ext/vendor/golang.org/x/net/internal/socket/sys_darwin.go +7 -0
  300. data/ext/vendor/golang.org/x/net/internal/socket/sys_dragonfly.go +7 -0
  301. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux.go +27 -0
  302. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_386.go +55 -0
  303. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_386.s +11 -0
  304. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go +10 -0
  305. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_arm.go +10 -0
  306. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go +10 -0
  307. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips.go +10 -0
  308. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go +10 -0
  309. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go +10 -0
  310. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go +10 -0
  311. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go +10 -0
  312. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go +10 -0
  313. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_s390x.go +55 -0
  314. data/ext/vendor/golang.org/x/net/internal/socket/sys_linux_s390x.s +11 -0
  315. data/ext/vendor/golang.org/x/net/internal/socket/sys_netbsd.go +25 -0
  316. data/ext/vendor/golang.org/x/net/internal/socket/sys_posix.go +168 -0
  317. data/ext/vendor/golang.org/x/net/internal/socket/sys_solaris.go +71 -0
  318. data/ext/vendor/golang.org/x/net/internal/socket/sys_solaris_amd64.s +11 -0
  319. data/ext/vendor/golang.org/x/net/internal/socket/sys_stub.go +64 -0
  320. data/ext/vendor/golang.org/x/net/internal/socket/sys_unix.go +33 -0
  321. data/ext/vendor/golang.org/x/net/internal/socket/sys_windows.go +70 -0
  322. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_386.go +59 -0
  323. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_amd64.go +61 -0
  324. data/ext/vendor/golang.org/x/net/internal/socket/zsys_darwin_arm.go +59 -0
  325. data/ext/vendor/golang.org/x/net/internal/socket/zsys_dragonfly_amd64.go +61 -0
  326. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_386.go +59 -0
  327. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_amd64.go +61 -0
  328. data/ext/vendor/golang.org/x/net/internal/socket/zsys_freebsd_arm.go +59 -0
  329. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_386.go +63 -0
  330. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_amd64.go +66 -0
  331. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_arm.go +63 -0
  332. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_arm64.go +66 -0
  333. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips.go +63 -0
  334. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips64.go +66 -0
  335. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mips64le.go +66 -0
  336. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_mipsle.go +63 -0
  337. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64.go +66 -0
  338. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_ppc64le.go +66 -0
  339. data/ext/vendor/golang.org/x/net/internal/socket/zsys_linux_s390x.go +66 -0
  340. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_386.go +65 -0
  341. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_amd64.go +68 -0
  342. data/ext/vendor/golang.org/x/net/internal/socket/zsys_netbsd_arm.go +59 -0
  343. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_386.go +59 -0
  344. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_amd64.go +61 -0
  345. data/ext/vendor/golang.org/x/net/internal/socket/zsys_openbsd_arm.go +59 -0
  346. data/ext/vendor/golang.org/x/net/internal/socket/zsys_solaris_amd64.go +60 -0
  347. data/ext/vendor/golang.org/x/net/internal/timeseries/timeseries.go +525 -0
  348. data/ext/vendor/golang.org/x/net/internal/timeseries/timeseries_test.go +170 -0
  349. data/ext/vendor/golang.org/x/net/ipv4/batch.go +191 -0
  350. data/ext/vendor/golang.org/x/net/ipv4/bpf_test.go +93 -0
  351. data/ext/vendor/golang.org/x/net/ipv4/control.go +144 -0
  352. data/ext/vendor/golang.org/x/net/ipv4/control_bsd.go +40 -0
  353. data/ext/vendor/golang.org/x/net/ipv4/control_pktinfo.go +39 -0
  354. data/ext/vendor/golang.org/x/net/ipv4/control_stub.go +13 -0
  355. data/ext/vendor/golang.org/x/net/ipv4/control_test.go +21 -0
  356. data/ext/vendor/golang.org/x/net/ipv4/control_unix.go +73 -0
  357. data/ext/vendor/golang.org/x/net/ipv4/control_windows.go +16 -0
  358. data/ext/vendor/golang.org/x/net/ipv4/defs_darwin.go +77 -0
  359. data/ext/vendor/golang.org/x/net/ipv4/defs_dragonfly.go +38 -0
  360. data/ext/vendor/golang.org/x/net/ipv4/defs_freebsd.go +75 -0
  361. data/ext/vendor/golang.org/x/net/ipv4/defs_linux.go +122 -0
  362. data/ext/vendor/golang.org/x/net/ipv4/defs_netbsd.go +37 -0
  363. data/ext/vendor/golang.org/x/net/ipv4/defs_openbsd.go +37 -0
  364. data/ext/vendor/golang.org/x/net/ipv4/defs_solaris.go +84 -0
  365. data/ext/vendor/golang.org/x/net/ipv4/dgramopt.go +265 -0
  366. data/ext/vendor/golang.org/x/net/ipv4/doc.go +244 -0
  367. data/ext/vendor/golang.org/x/net/ipv4/endpoint.go +187 -0
  368. data/ext/vendor/golang.org/x/net/ipv4/example_test.go +224 -0
  369. data/ext/vendor/golang.org/x/net/ipv4/gen.go +199 -0
  370. data/ext/vendor/golang.org/x/net/ipv4/genericopt.go +57 -0
  371. data/ext/vendor/golang.org/x/net/ipv4/header.go +159 -0
  372. data/ext/vendor/golang.org/x/net/ipv4/header_test.go +228 -0
  373. data/ext/vendor/golang.org/x/net/ipv4/helper.go +63 -0
  374. data/ext/vendor/golang.org/x/net/ipv4/iana.go +34 -0
  375. data/ext/vendor/golang.org/x/net/ipv4/icmp.go +57 -0
  376. data/ext/vendor/golang.org/x/net/ipv4/icmp_linux.go +25 -0
  377. data/ext/vendor/golang.org/x/net/ipv4/icmp_stub.go +25 -0
  378. data/ext/vendor/golang.org/x/net/ipv4/icmp_test.go +95 -0
  379. data/ext/vendor/golang.org/x/net/ipv4/multicast_test.go +334 -0
  380. data/ext/vendor/golang.org/x/net/ipv4/multicastlistener_test.go +265 -0
  381. data/ext/vendor/golang.org/x/net/ipv4/multicastsockopt_test.go +195 -0
  382. data/ext/vendor/golang.org/x/net/ipv4/packet.go +69 -0
  383. data/ext/vendor/golang.org/x/net/ipv4/packet_go1_8.go +56 -0
  384. data/ext/vendor/golang.org/x/net/ipv4/packet_go1_9.go +67 -0
  385. data/ext/vendor/golang.org/x/net/ipv4/payload.go +23 -0
  386. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg.go +36 -0
  387. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg_go1_8.go +59 -0
  388. data/ext/vendor/golang.org/x/net/ipv4/payload_cmsg_go1_9.go +67 -0
  389. data/ext/vendor/golang.org/x/net/ipv4/payload_nocmsg.go +42 -0
  390. data/ext/vendor/golang.org/x/net/ipv4/readwrite_go1_8_test.go +248 -0
  391. data/ext/vendor/golang.org/x/net/ipv4/readwrite_go1_9_test.go +388 -0
  392. data/ext/vendor/golang.org/x/net/ipv4/readwrite_test.go +140 -0
  393. data/ext/vendor/golang.org/x/net/ipv4/sockopt.go +44 -0
  394. data/ext/vendor/golang.org/x/net/ipv4/sockopt_posix.go +71 -0
  395. data/ext/vendor/golang.org/x/net/ipv4/sockopt_stub.go +42 -0
  396. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreq.go +119 -0
  397. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreq_stub.go +25 -0
  398. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreqn.go +42 -0
  399. data/ext/vendor/golang.org/x/net/ipv4/sys_asmreqn_stub.go +21 -0
  400. data/ext/vendor/golang.org/x/net/ipv4/sys_bpf.go +23 -0
  401. data/ext/vendor/golang.org/x/net/ipv4/sys_bpf_stub.go +16 -0
  402. data/ext/vendor/golang.org/x/net/ipv4/sys_bsd.go +37 -0
  403. data/ext/vendor/golang.org/x/net/ipv4/sys_darwin.go +93 -0
  404. data/ext/vendor/golang.org/x/net/ipv4/sys_dragonfly.go +35 -0
  405. data/ext/vendor/golang.org/x/net/ipv4/sys_freebsd.go +76 -0
  406. data/ext/vendor/golang.org/x/net/ipv4/sys_linux.go +59 -0
  407. data/ext/vendor/golang.org/x/net/ipv4/sys_solaris.go +57 -0
  408. data/ext/vendor/golang.org/x/net/ipv4/sys_ssmreq.go +54 -0
  409. data/ext/vendor/golang.org/x/net/ipv4/sys_ssmreq_stub.go +21 -0
  410. data/ext/vendor/golang.org/x/net/ipv4/sys_stub.go +13 -0
  411. data/ext/vendor/golang.org/x/net/ipv4/sys_windows.go +67 -0
  412. data/ext/vendor/golang.org/x/net/ipv4/unicast_test.go +247 -0
  413. data/ext/vendor/golang.org/x/net/ipv4/unicastsockopt_test.go +148 -0
  414. data/ext/vendor/golang.org/x/net/ipv4/zsys_darwin.go +99 -0
  415. data/ext/vendor/golang.org/x/net/ipv4/zsys_dragonfly.go +31 -0
  416. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_386.go +93 -0
  417. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_amd64.go +95 -0
  418. data/ext/vendor/golang.org/x/net/ipv4/zsys_freebsd_arm.go +95 -0
  419. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_386.go +148 -0
  420. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_amd64.go +150 -0
  421. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_arm.go +148 -0
  422. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_arm64.go +150 -0
  423. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips.go +148 -0
  424. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips64.go +150 -0
  425. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mips64le.go +150 -0
  426. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_mipsle.go +148 -0
  427. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc.go +148 -0
  428. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64.go +150 -0
  429. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_ppc64le.go +150 -0
  430. data/ext/vendor/golang.org/x/net/ipv4/zsys_linux_s390x.go +150 -0
  431. data/ext/vendor/golang.org/x/net/ipv4/zsys_netbsd.go +30 -0
  432. data/ext/vendor/golang.org/x/net/ipv4/zsys_openbsd.go +30 -0
  433. data/ext/vendor/golang.org/x/net/ipv4/zsys_solaris.go +100 -0
  434. data/ext/vendor/golang.org/x/net/ipv6/batch.go +119 -0
  435. data/ext/vendor/golang.org/x/net/ipv6/bpf_test.go +96 -0
  436. data/ext/vendor/golang.org/x/net/ipv6/control.go +187 -0
  437. data/ext/vendor/golang.org/x/net/ipv6/control_rfc2292_unix.go +48 -0
  438. data/ext/vendor/golang.org/x/net/ipv6/control_rfc3542_unix.go +94 -0
  439. data/ext/vendor/golang.org/x/net/ipv6/control_stub.go +13 -0
  440. data/ext/vendor/golang.org/x/net/ipv6/control_test.go +21 -0
  441. data/ext/vendor/golang.org/x/net/ipv6/control_unix.go +55 -0
  442. data/ext/vendor/golang.org/x/net/ipv6/control_windows.go +16 -0
  443. data/ext/vendor/golang.org/x/net/ipv6/defs_darwin.go +112 -0
  444. data/ext/vendor/golang.org/x/net/ipv6/defs_dragonfly.go +84 -0
  445. data/ext/vendor/golang.org/x/net/ipv6/defs_freebsd.go +105 -0
  446. data/ext/vendor/golang.org/x/net/ipv6/defs_linux.go +147 -0
  447. data/ext/vendor/golang.org/x/net/ipv6/defs_netbsd.go +80 -0
  448. data/ext/vendor/golang.org/x/net/ipv6/defs_openbsd.go +89 -0
  449. data/ext/vendor/golang.org/x/net/ipv6/defs_solaris.go +114 -0
  450. data/ext/vendor/golang.org/x/net/ipv6/dgramopt.go +302 -0
  451. data/ext/vendor/golang.org/x/net/ipv6/doc.go +243 -0
  452. data/ext/vendor/golang.org/x/net/ipv6/endpoint.go +128 -0
  453. data/ext/vendor/golang.org/x/net/ipv6/example_test.go +216 -0
  454. data/ext/vendor/golang.org/x/net/ipv6/gen.go +199 -0
  455. data/ext/vendor/golang.org/x/net/ipv6/genericopt.go +58 -0
  456. data/ext/vendor/golang.org/x/net/ipv6/header.go +55 -0
  457. data/ext/vendor/golang.org/x/net/ipv6/header_test.go +55 -0
  458. data/ext/vendor/golang.org/x/net/ipv6/helper.go +57 -0
  459. data/ext/vendor/golang.org/x/net/ipv6/iana.go +82 -0
  460. data/ext/vendor/golang.org/x/net/ipv6/icmp.go +60 -0
  461. data/ext/vendor/golang.org/x/net/ipv6/icmp_bsd.go +29 -0
  462. data/ext/vendor/golang.org/x/net/ipv6/icmp_linux.go +27 -0
  463. data/ext/vendor/golang.org/x/net/ipv6/icmp_solaris.go +27 -0
  464. data/ext/vendor/golang.org/x/net/ipv6/icmp_stub.go +23 -0
  465. data/ext/vendor/golang.org/x/net/ipv6/icmp_test.go +96 -0
  466. data/ext/vendor/golang.org/x/net/ipv6/icmp_windows.go +22 -0
  467. data/ext/vendor/golang.org/x/net/ipv6/mocktransponder_test.go +32 -0
  468. data/ext/vendor/golang.org/x/net/ipv6/multicast_test.go +264 -0
  469. data/ext/vendor/golang.org/x/net/ipv6/multicastlistener_test.go +261 -0
  470. data/ext/vendor/golang.org/x/net/ipv6/multicastsockopt_test.go +157 -0
  471. data/ext/vendor/golang.org/x/net/ipv6/payload.go +23 -0
  472. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg.go +35 -0
  473. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg_go1_8.go +55 -0
  474. data/ext/vendor/golang.org/x/net/ipv6/payload_cmsg_go1_9.go +57 -0
  475. data/ext/vendor/golang.org/x/net/ipv6/payload_nocmsg.go +41 -0
  476. data/ext/vendor/golang.org/x/net/ipv6/readwrite_go1_8_test.go +242 -0
  477. data/ext/vendor/golang.org/x/net/ipv6/readwrite_go1_9_test.go +373 -0
  478. data/ext/vendor/golang.org/x/net/ipv6/readwrite_test.go +148 -0
  479. data/ext/vendor/golang.org/x/net/ipv6/sockopt.go +43 -0
  480. data/ext/vendor/golang.org/x/net/ipv6/sockopt_posix.go +87 -0
  481. data/ext/vendor/golang.org/x/net/ipv6/sockopt_stub.go +46 -0
  482. data/ext/vendor/golang.org/x/net/ipv6/sockopt_test.go +133 -0
  483. data/ext/vendor/golang.org/x/net/ipv6/sys_asmreq.go +24 -0
  484. data/ext/vendor/golang.org/x/net/ipv6/sys_asmreq_stub.go +17 -0
  485. data/ext/vendor/golang.org/x/net/ipv6/sys_bpf.go +23 -0
  486. data/ext/vendor/golang.org/x/net/ipv6/sys_bpf_stub.go +16 -0
  487. data/ext/vendor/golang.org/x/net/ipv6/sys_bsd.go +57 -0
  488. data/ext/vendor/golang.org/x/net/ipv6/sys_darwin.go +106 -0
  489. data/ext/vendor/golang.org/x/net/ipv6/sys_freebsd.go +92 -0
  490. data/ext/vendor/golang.org/x/net/ipv6/sys_linux.go +74 -0
  491. data/ext/vendor/golang.org/x/net/ipv6/sys_solaris.go +74 -0
  492. data/ext/vendor/golang.org/x/net/ipv6/sys_ssmreq.go +54 -0
  493. data/ext/vendor/golang.org/x/net/ipv6/sys_ssmreq_stub.go +21 -0
  494. data/ext/vendor/golang.org/x/net/ipv6/sys_stub.go +13 -0
  495. data/ext/vendor/golang.org/x/net/ipv6/sys_windows.go +75 -0
  496. data/ext/vendor/golang.org/x/net/ipv6/unicast_test.go +184 -0
  497. data/ext/vendor/golang.org/x/net/ipv6/unicastsockopt_test.go +120 -0
  498. data/ext/vendor/golang.org/x/net/ipv6/zsys_darwin.go +131 -0
  499. data/ext/vendor/golang.org/x/net/ipv6/zsys_dragonfly.go +88 -0
  500. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_386.go +122 -0
  501. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_amd64.go +124 -0
  502. data/ext/vendor/golang.org/x/net/ipv6/zsys_freebsd_arm.go +124 -0
  503. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_386.go +170 -0
  504. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_amd64.go +172 -0
  505. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_arm.go +170 -0
  506. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_arm64.go +172 -0
  507. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips.go +170 -0
  508. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips64.go +172 -0
  509. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mips64le.go +172 -0
  510. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_mipsle.go +170 -0
  511. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc.go +170 -0
  512. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc64.go +172 -0
  513. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_ppc64le.go +172 -0
  514. data/ext/vendor/golang.org/x/net/ipv6/zsys_linux_s390x.go +172 -0
  515. data/ext/vendor/golang.org/x/net/ipv6/zsys_netbsd.go +84 -0
  516. data/ext/vendor/golang.org/x/net/ipv6/zsys_openbsd.go +93 -0
  517. data/ext/vendor/golang.org/x/net/ipv6/zsys_solaris.go +131 -0
  518. data/ext/vendor/golang.org/x/net/lex/httplex/httplex.go +351 -0
  519. data/ext/vendor/golang.org/x/net/lex/httplex/httplex_test.go +119 -0
  520. data/ext/vendor/golang.org/x/net/lif/address.go +105 -0
  521. data/ext/vendor/golang.org/x/net/lif/address_test.go +123 -0
  522. data/ext/vendor/golang.org/x/net/lif/binary.go +115 -0
  523. data/ext/vendor/golang.org/x/net/lif/defs_solaris.go +90 -0
  524. data/ext/vendor/golang.org/x/net/lif/lif.go +43 -0
  525. data/ext/vendor/golang.org/x/net/lif/link.go +126 -0
  526. data/ext/vendor/golang.org/x/net/lif/link_test.go +63 -0
  527. data/ext/vendor/golang.org/x/net/lif/sys.go +21 -0
  528. data/ext/vendor/golang.org/x/net/lif/sys_solaris_amd64.s +8 -0
  529. data/ext/vendor/golang.org/x/net/lif/syscall.go +28 -0
  530. data/ext/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go +103 -0
  531. data/ext/vendor/golang.org/x/net/nettest/conntest.go +456 -0
  532. data/ext/vendor/golang.org/x/net/nettest/conntest_go16.go +24 -0
  533. data/ext/vendor/golang.org/x/net/nettest/conntest_go17.go +24 -0
  534. data/ext/vendor/golang.org/x/net/nettest/conntest_test.go +76 -0
  535. data/ext/vendor/golang.org/x/net/netutil/listen.go +48 -0
  536. data/ext/vendor/golang.org/x/net/netutil/listen_test.go +101 -0
  537. data/ext/vendor/golang.org/x/net/proxy/direct.go +18 -0
  538. data/ext/vendor/golang.org/x/net/proxy/per_host.go +140 -0
  539. data/ext/vendor/golang.org/x/net/proxy/per_host_test.go +55 -0
  540. data/ext/vendor/golang.org/x/net/proxy/proxy.go +134 -0
  541. data/ext/vendor/golang.org/x/net/proxy/proxy_test.go +215 -0
  542. data/ext/vendor/golang.org/x/net/proxy/socks5.go +214 -0
  543. data/ext/vendor/golang.org/x/net/publicsuffix/gen.go +713 -0
  544. data/ext/vendor/golang.org/x/net/publicsuffix/list.go +135 -0
  545. data/ext/vendor/golang.org/x/net/publicsuffix/list_test.go +416 -0
  546. data/ext/vendor/golang.org/x/net/publicsuffix/table.go +9419 -0
  547. data/ext/vendor/golang.org/x/net/publicsuffix/table_test.go +16756 -0
  548. data/ext/vendor/golang.org/x/net/route/address.go +425 -0
  549. data/ext/vendor/golang.org/x/net/route/address_darwin_test.go +63 -0
  550. data/ext/vendor/golang.org/x/net/route/address_test.go +103 -0
  551. data/ext/vendor/golang.org/x/net/route/binary.go +90 -0
  552. data/ext/vendor/golang.org/x/net/route/defs_darwin.go +114 -0
  553. data/ext/vendor/golang.org/x/net/route/defs_dragonfly.go +113 -0
  554. data/ext/vendor/golang.org/x/net/route/defs_freebsd.go +337 -0
  555. data/ext/vendor/golang.org/x/net/route/defs_netbsd.go +112 -0
  556. data/ext/vendor/golang.org/x/net/route/defs_openbsd.go +116 -0
  557. data/ext/vendor/golang.org/x/net/route/interface.go +64 -0
  558. data/ext/vendor/golang.org/x/net/route/interface_announce.go +32 -0
  559. data/ext/vendor/golang.org/x/net/route/interface_classic.go +66 -0
  560. data/ext/vendor/golang.org/x/net/route/interface_freebsd.go +78 -0
  561. data/ext/vendor/golang.org/x/net/route/interface_multicast.go +30 -0
  562. data/ext/vendor/golang.org/x/net/route/interface_openbsd.go +90 -0
  563. data/ext/vendor/golang.org/x/net/route/message.go +72 -0
  564. data/ext/vendor/golang.org/x/net/route/message_darwin_test.go +34 -0
  565. data/ext/vendor/golang.org/x/net/route/message_freebsd_test.go +92 -0
  566. data/ext/vendor/golang.org/x/net/route/message_test.go +239 -0
  567. data/ext/vendor/golang.org/x/net/route/route.go +123 -0
  568. data/ext/vendor/golang.org/x/net/route/route_classic.go +67 -0
  569. data/ext/vendor/golang.org/x/net/route/route_openbsd.go +65 -0
  570. data/ext/vendor/golang.org/x/net/route/route_test.go +390 -0
  571. data/ext/vendor/golang.org/x/net/route/sys.go +39 -0
  572. data/ext/vendor/golang.org/x/net/route/sys_darwin.go +87 -0
  573. data/ext/vendor/golang.org/x/net/route/sys_dragonfly.go +76 -0
  574. data/ext/vendor/golang.org/x/net/route/sys_freebsd.go +155 -0
  575. data/ext/vendor/golang.org/x/net/route/sys_netbsd.go +71 -0
  576. data/ext/vendor/golang.org/x/net/route/sys_openbsd.go +80 -0
  577. data/ext/vendor/golang.org/x/net/route/syscall.go +28 -0
  578. data/ext/vendor/golang.org/x/net/route/zsys_darwin.go +99 -0
  579. data/ext/vendor/golang.org/x/net/route/zsys_dragonfly.go +98 -0
  580. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_386.go +126 -0
  581. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_amd64.go +123 -0
  582. data/ext/vendor/golang.org/x/net/route/zsys_freebsd_arm.go +123 -0
  583. data/ext/vendor/golang.org/x/net/route/zsys_netbsd.go +97 -0
  584. data/ext/vendor/golang.org/x/net/route/zsys_openbsd.go +101 -0
  585. data/ext/vendor/golang.org/x/net/trace/events.go +532 -0
  586. data/ext/vendor/golang.org/x/net/trace/histogram.go +365 -0
  587. data/ext/vendor/golang.org/x/net/trace/histogram_test.go +325 -0
  588. data/ext/vendor/golang.org/x/net/trace/trace.go +1082 -0
  589. data/ext/vendor/golang.org/x/net/trace/trace_go16.go +21 -0
  590. data/ext/vendor/golang.org/x/net/trace/trace_go17.go +21 -0
  591. data/ext/vendor/golang.org/x/net/trace/trace_test.go +178 -0
  592. data/ext/vendor/golang.org/x/net/webdav/file.go +796 -0
  593. data/ext/vendor/golang.org/x/net/webdav/file_go1.6.go +17 -0
  594. data/ext/vendor/golang.org/x/net/webdav/file_go1.7.go +16 -0
  595. data/ext/vendor/golang.org/x/net/webdav/file_test.go +1184 -0
  596. data/ext/vendor/golang.org/x/net/webdav/if.go +173 -0
  597. data/ext/vendor/golang.org/x/net/webdav/if_test.go +322 -0
  598. data/ext/vendor/golang.org/x/net/webdav/internal/xml/README +11 -0
  599. data/ext/vendor/golang.org/x/net/webdav/internal/xml/atom_test.go +56 -0
  600. data/ext/vendor/golang.org/x/net/webdav/internal/xml/example_test.go +151 -0
  601. data/ext/vendor/golang.org/x/net/webdav/internal/xml/marshal.go +1223 -0
  602. data/ext/vendor/golang.org/x/net/webdav/internal/xml/marshal_test.go +1939 -0
  603. data/ext/vendor/golang.org/x/net/webdav/internal/xml/read.go +692 -0
  604. data/ext/vendor/golang.org/x/net/webdav/internal/xml/read_test.go +744 -0
  605. data/ext/vendor/golang.org/x/net/webdav/internal/xml/typeinfo.go +371 -0
  606. data/ext/vendor/golang.org/x/net/webdav/internal/xml/xml.go +1998 -0
  607. data/ext/vendor/golang.org/x/net/webdav/internal/xml/xml_test.go +752 -0
  608. data/ext/vendor/golang.org/x/net/webdav/litmus_test_server.go +94 -0
  609. data/ext/vendor/golang.org/x/net/webdav/lock.go +445 -0
  610. data/ext/vendor/golang.org/x/net/webdav/lock_test.go +731 -0
  611. data/ext/vendor/golang.org/x/net/webdav/prop.go +418 -0
  612. data/ext/vendor/golang.org/x/net/webdav/prop_test.go +613 -0
  613. data/ext/vendor/golang.org/x/net/webdav/webdav.go +702 -0
  614. data/ext/vendor/golang.org/x/net/webdav/webdav_test.go +344 -0
  615. data/ext/vendor/golang.org/x/net/webdav/xml.go +519 -0
  616. data/ext/vendor/golang.org/x/net/webdav/xml_test.go +906 -0
  617. data/ext/vendor/golang.org/x/net/websocket/client.go +106 -0
  618. data/ext/vendor/golang.org/x/net/websocket/dial.go +24 -0
  619. data/ext/vendor/golang.org/x/net/websocket/dial_test.go +43 -0
  620. data/ext/vendor/golang.org/x/net/websocket/exampledial_test.go +31 -0
  621. data/ext/vendor/golang.org/x/net/websocket/examplehandler_test.go +26 -0
  622. data/ext/vendor/golang.org/x/net/websocket/hybi.go +583 -0
  623. data/ext/vendor/golang.org/x/net/websocket/hybi_test.go +608 -0
  624. data/ext/vendor/golang.org/x/net/websocket/server.go +113 -0
  625. data/ext/vendor/golang.org/x/net/websocket/websocket.go +448 -0
  626. data/ext/vendor/golang.org/x/net/websocket/websocket_test.go +665 -0
  627. data/ext/vendor/golang.org/x/net/xsrftoken/xsrf.go +94 -0
  628. data/ext/vendor/golang.org/x/net/xsrftoken/xsrf_test.go +83 -0
  629. data/ext/vendor/golang.org/x/text/AUTHORS +3 -0
  630. data/ext/vendor/golang.org/x/text/CONTRIBUTING.md +31 -0
  631. data/ext/vendor/golang.org/x/text/CONTRIBUTORS +3 -0
  632. data/ext/vendor/golang.org/x/text/LICENSE +27 -0
  633. data/ext/vendor/golang.org/x/text/PATENTS +22 -0
  634. data/ext/vendor/golang.org/x/text/README.md +91 -0
  635. data/ext/vendor/golang.org/x/text/cases/cases.go +162 -0
  636. data/ext/vendor/golang.org/x/text/cases/context.go +376 -0
  637. data/ext/vendor/golang.org/x/text/cases/context_test.go +438 -0
  638. data/ext/vendor/golang.org/x/text/cases/example_test.go +53 -0
  639. data/ext/vendor/golang.org/x/text/cases/fold.go +34 -0
  640. data/ext/vendor/golang.org/x/text/cases/fold_test.go +51 -0
  641. data/ext/vendor/golang.org/x/text/cases/gen.go +839 -0
  642. data/ext/vendor/golang.org/x/text/cases/gen_trieval.go +219 -0
  643. data/ext/vendor/golang.org/x/text/cases/icu.go +61 -0
  644. data/ext/vendor/golang.org/x/text/cases/icu_test.go +210 -0
  645. data/ext/vendor/golang.org/x/text/cases/info.go +82 -0
  646. data/ext/vendor/golang.org/x/text/cases/map.go +816 -0
  647. data/ext/vendor/golang.org/x/text/cases/map_test.go +950 -0
  648. data/ext/vendor/golang.org/x/text/cases/tables.go +2251 -0
  649. data/ext/vendor/golang.org/x/text/cases/tables_test.go +1158 -0
  650. data/ext/vendor/golang.org/x/text/cases/trieval.go +215 -0
  651. data/ext/vendor/golang.org/x/text/cmd/gotext/doc.go +35 -0
  652. data/ext/vendor/golang.org/x/text/cmd/gotext/extract.go +195 -0
  653. data/ext/vendor/golang.org/x/text/cmd/gotext/main.go +356 -0
  654. data/ext/vendor/golang.org/x/text/cmd/gotext/message.go +127 -0
  655. data/ext/vendor/golang.org/x/text/codereview.cfg +1 -0
  656. data/ext/vendor/golang.org/x/text/collate/build/builder.go +702 -0
  657. data/ext/vendor/golang.org/x/text/collate/build/builder_test.go +290 -0
  658. data/ext/vendor/golang.org/x/text/collate/build/colelem.go +294 -0
  659. data/ext/vendor/golang.org/x/text/collate/build/colelem_test.go +215 -0
  660. data/ext/vendor/golang.org/x/text/collate/build/contract.go +309 -0
  661. data/ext/vendor/golang.org/x/text/collate/build/contract_test.go +266 -0
  662. data/ext/vendor/golang.org/x/text/collate/build/order.go +393 -0
  663. data/ext/vendor/golang.org/x/text/collate/build/order_test.go +229 -0
  664. data/ext/vendor/golang.org/x/text/collate/build/table.go +81 -0
  665. data/ext/vendor/golang.org/x/text/collate/build/trie.go +290 -0
  666. data/ext/vendor/golang.org/x/text/collate/build/trie_test.go +107 -0
  667. data/ext/vendor/golang.org/x/text/collate/collate.go +403 -0
  668. data/ext/vendor/golang.org/x/text/collate/collate_test.go +482 -0
  669. data/ext/vendor/golang.org/x/text/collate/export_test.go +51 -0
  670. data/ext/vendor/golang.org/x/text/collate/index.go +32 -0
  671. data/ext/vendor/golang.org/x/text/collate/maketables.go +553 -0
  672. data/ext/vendor/golang.org/x/text/collate/option.go +239 -0
  673. data/ext/vendor/golang.org/x/text/collate/option_test.go +209 -0
  674. data/ext/vendor/golang.org/x/text/collate/reg_test.go +230 -0
  675. data/ext/vendor/golang.org/x/text/collate/sort.go +81 -0
  676. data/ext/vendor/golang.org/x/text/collate/sort_test.go +55 -0
  677. data/ext/vendor/golang.org/x/text/collate/table_test.go +291 -0
  678. data/ext/vendor/golang.org/x/text/collate/tables.go +73789 -0
  679. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/Makefile +7 -0
  680. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/chars.go +1156 -0
  681. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/col.go +97 -0
  682. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/colcmp.go +529 -0
  683. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/darwin.go +111 -0
  684. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/gen.go +183 -0
  685. data/ext/vendor/golang.org/x/text/collate/tools/colcmp/icu.go +209 -0
  686. data/ext/vendor/golang.org/x/text/currency/common.go +66 -0
  687. data/ext/vendor/golang.org/x/text/currency/currency.go +185 -0
  688. data/ext/vendor/golang.org/x/text/currency/currency_test.go +171 -0
  689. data/ext/vendor/golang.org/x/text/currency/example_test.go +27 -0
  690. data/ext/vendor/golang.org/x/text/currency/format.go +215 -0
  691. data/ext/vendor/golang.org/x/text/currency/format_test.go +70 -0
  692. data/ext/vendor/golang.org/x/text/currency/gen.go +400 -0
  693. data/ext/vendor/golang.org/x/text/currency/gen_common.go +70 -0
  694. data/ext/vendor/golang.org/x/text/currency/query.go +152 -0
  695. data/ext/vendor/golang.org/x/text/currency/query_test.go +107 -0
  696. data/ext/vendor/golang.org/x/text/currency/tables.go +2574 -0
  697. data/ext/vendor/golang.org/x/text/currency/tables_test.go +93 -0
  698. data/ext/vendor/golang.org/x/text/doc.go +13 -0
  699. data/ext/vendor/golang.org/x/text/encoding/charmap/charmap.go +249 -0
  700. data/ext/vendor/golang.org/x/text/encoding/charmap/charmap_test.go +258 -0
  701. data/ext/vendor/golang.org/x/text/encoding/charmap/maketables.go +556 -0
  702. data/ext/vendor/golang.org/x/text/encoding/charmap/tables.go +7410 -0
  703. data/ext/vendor/golang.org/x/text/encoding/encoding.go +335 -0
  704. data/ext/vendor/golang.org/x/text/encoding/encoding_test.go +290 -0
  705. data/ext/vendor/golang.org/x/text/encoding/example_test.go +42 -0
  706. data/ext/vendor/golang.org/x/text/encoding/htmlindex/gen.go +173 -0
  707. data/ext/vendor/golang.org/x/text/encoding/htmlindex/htmlindex.go +86 -0
  708. data/ext/vendor/golang.org/x/text/encoding/htmlindex/htmlindex_test.go +144 -0
  709. data/ext/vendor/golang.org/x/text/encoding/htmlindex/map.go +105 -0
  710. data/ext/vendor/golang.org/x/text/encoding/htmlindex/tables.go +352 -0
  711. data/ext/vendor/golang.org/x/text/encoding/ianaindex/example_test.go +27 -0
  712. data/ext/vendor/golang.org/x/text/encoding/ianaindex/gen.go +192 -0
  713. data/ext/vendor/golang.org/x/text/encoding/ianaindex/ianaindex.go +209 -0
  714. data/ext/vendor/golang.org/x/text/encoding/ianaindex/ianaindex_test.go +192 -0
  715. data/ext/vendor/golang.org/x/text/encoding/ianaindex/tables.go +2348 -0
  716. data/ext/vendor/golang.org/x/text/encoding/internal/enctest/enctest.go +180 -0
  717. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/gen.go +137 -0
  718. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/identifier.go +81 -0
  719. data/ext/vendor/golang.org/x/text/encoding/internal/identifier/mib.go +1621 -0
  720. data/ext/vendor/golang.org/x/text/encoding/internal/internal.go +75 -0
  721. data/ext/vendor/golang.org/x/text/encoding/japanese/all.go +12 -0
  722. data/ext/vendor/golang.org/x/text/encoding/japanese/all_test.go +248 -0
  723. data/ext/vendor/golang.org/x/text/encoding/japanese/eucjp.go +225 -0
  724. data/ext/vendor/golang.org/x/text/encoding/japanese/iso2022jp.go +299 -0
  725. data/ext/vendor/golang.org/x/text/encoding/japanese/maketables.go +161 -0
  726. data/ext/vendor/golang.org/x/text/encoding/japanese/shiftjis.go +189 -0
  727. data/ext/vendor/golang.org/x/text/encoding/japanese/tables.go +26971 -0
  728. data/ext/vendor/golang.org/x/text/encoding/korean/all_test.go +94 -0
  729. data/ext/vendor/golang.org/x/text/encoding/korean/euckr.go +177 -0
  730. data/ext/vendor/golang.org/x/text/encoding/korean/maketables.go +143 -0
  731. data/ext/vendor/golang.org/x/text/encoding/korean/tables.go +34152 -0
  732. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/all.go +12 -0
  733. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/all_test.go +143 -0
  734. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/gbk.go +269 -0
  735. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/hzgb2312.go +245 -0
  736. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/maketables.go +161 -0
  737. data/ext/vendor/golang.org/x/text/encoding/simplifiedchinese/tables.go +43999 -0
  738. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt +510 -0
  739. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt +0 -0
  740. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-32be.txt +0 -0
  741. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-utf-8.txt +510 -0
  742. data/ext/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt +510 -0
  743. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt +178 -0
  744. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-iso-2022-jp.txt +178 -0
  745. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt +178 -0
  746. data/ext/vendor/golang.org/x/text/encoding/testdata/rashomon-utf-8.txt +178 -0
  747. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-hz-gb2312.txt +107 -0
  748. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-gb-levels-1-and-2-utf-8.txt +107 -0
  749. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt +107 -0
  750. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-utf-8.txt +107 -0
  751. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt +106 -0
  752. data/ext/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-utf-8.txt +106 -0
  753. data/ext/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt +175 -0
  754. data/ext/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-utf-8.txt +175 -0
  755. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/all_test.go +114 -0
  756. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/big5.go +199 -0
  757. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/maketables.go +140 -0
  758. data/ext/vendor/golang.org/x/text/encoding/traditionalchinese/tables.go +37142 -0
  759. data/ext/vendor/golang.org/x/text/encoding/unicode/override.go +82 -0
  760. data/ext/vendor/golang.org/x/text/encoding/unicode/unicode.go +434 -0
  761. data/ext/vendor/golang.org/x/text/encoding/unicode/unicode_test.go +499 -0
  762. data/ext/vendor/golang.org/x/text/encoding/unicode/utf32/utf32.go +296 -0
  763. data/ext/vendor/golang.org/x/text/encoding/unicode/utf32/utf32_test.go +248 -0
  764. data/ext/vendor/golang.org/x/text/feature/plural/common.go +70 -0
  765. data/ext/vendor/golang.org/x/text/feature/plural/data_test.go +190 -0
  766. data/ext/vendor/golang.org/x/text/feature/plural/example_test.go +46 -0
  767. data/ext/vendor/golang.org/x/text/feature/plural/gen.go +513 -0
  768. data/ext/vendor/golang.org/x/text/feature/plural/gen_common.go +74 -0
  769. data/ext/vendor/golang.org/x/text/feature/plural/message.go +244 -0
  770. data/ext/vendor/golang.org/x/text/feature/plural/message_test.go +197 -0
  771. data/ext/vendor/golang.org/x/text/feature/plural/plural.go +258 -0
  772. data/ext/vendor/golang.org/x/text/feature/plural/plural_test.go +216 -0
  773. data/ext/vendor/golang.org/x/text/feature/plural/tables.go +540 -0
  774. data/ext/vendor/golang.org/x/text/gen.go +318 -0
  775. data/ext/vendor/golang.org/x/text/internal/catmsg/catmsg.go +366 -0
  776. data/ext/vendor/golang.org/x/text/internal/catmsg/catmsg_test.go +316 -0
  777. data/ext/vendor/golang.org/x/text/internal/catmsg/codec.go +407 -0
  778. data/ext/vendor/golang.org/x/text/internal/catmsg/varint.go +62 -0
  779. data/ext/vendor/golang.org/x/text/internal/catmsg/varint_test.go +123 -0
  780. data/ext/vendor/golang.org/x/text/internal/colltab/collate_test.go +121 -0
  781. data/ext/vendor/golang.org/x/text/internal/colltab/collelem.go +371 -0
  782. data/ext/vendor/golang.org/x/text/internal/colltab/collelem_test.go +183 -0
  783. data/ext/vendor/golang.org/x/text/internal/colltab/colltab.go +105 -0
  784. data/ext/vendor/golang.org/x/text/internal/colltab/colltab_test.go +64 -0
  785. data/ext/vendor/golang.org/x/text/internal/colltab/contract.go +145 -0
  786. data/ext/vendor/golang.org/x/text/internal/colltab/contract_test.go +131 -0
  787. data/ext/vendor/golang.org/x/text/internal/colltab/iter.go +178 -0
  788. data/ext/vendor/golang.org/x/text/internal/colltab/iter_test.go +63 -0
  789. data/ext/vendor/golang.org/x/text/internal/colltab/numeric.go +236 -0
  790. data/ext/vendor/golang.org/x/text/internal/colltab/numeric_test.go +159 -0
  791. data/ext/vendor/golang.org/x/text/internal/colltab/table.go +275 -0
  792. data/ext/vendor/golang.org/x/text/internal/colltab/trie.go +159 -0
  793. data/ext/vendor/golang.org/x/text/internal/colltab/trie_test.go +106 -0
  794. data/ext/vendor/golang.org/x/text/internal/colltab/weighter.go +31 -0
  795. data/ext/vendor/golang.org/x/text/internal/colltab/weighter_test.go +42 -0
  796. data/ext/vendor/golang.org/x/text/internal/export/README +4 -0
  797. data/ext/vendor/golang.org/x/text/internal/export/idna/common_test.go +55 -0
  798. data/ext/vendor/golang.org/x/text/internal/export/idna/example_test.go +68 -0
  799. data/ext/vendor/golang.org/x/text/internal/export/idna/gen.go +276 -0
  800. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_common.go +59 -0
  801. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_test.go +91 -0
  802. data/ext/vendor/golang.org/x/text/internal/export/idna/gen_trieval.go +123 -0
  803. data/ext/vendor/golang.org/x/text/internal/export/idna/idna.go +717 -0
  804. data/ext/vendor/golang.org/x/text/internal/export/idna/idna_test.go +308 -0
  805. data/ext/vendor/golang.org/x/text/internal/export/idna/punycode.go +201 -0
  806. data/ext/vendor/golang.org/x/text/internal/export/idna/punycode_test.go +198 -0
  807. data/ext/vendor/golang.org/x/text/internal/export/idna/tables.go +4557 -0
  808. data/ext/vendor/golang.org/x/text/internal/export/idna/trie.go +70 -0
  809. data/ext/vendor/golang.org/x/text/internal/export/idna/trieval.go +119 -0
  810. data/ext/vendor/golang.org/x/text/internal/format/format.go +41 -0
  811. data/ext/vendor/golang.org/x/text/internal/gen.go +52 -0
  812. data/ext/vendor/golang.org/x/text/internal/gen/code.go +351 -0
  813. data/ext/vendor/golang.org/x/text/internal/gen/gen.go +281 -0
  814. data/ext/vendor/golang.org/x/text/internal/gen_test.go +38 -0
  815. data/ext/vendor/golang.org/x/text/internal/internal.go +51 -0
  816. data/ext/vendor/golang.org/x/text/internal/internal_test.go +38 -0
  817. data/ext/vendor/golang.org/x/text/internal/match.go +67 -0
  818. data/ext/vendor/golang.org/x/text/internal/match_test.go +56 -0
  819. data/ext/vendor/golang.org/x/text/internal/number/common.go +40 -0
  820. data/ext/vendor/golang.org/x/text/internal/number/decimal.go +498 -0
  821. data/ext/vendor/golang.org/x/text/internal/number/decimal_test.go +329 -0
  822. data/ext/vendor/golang.org/x/text/internal/number/format.go +540 -0
  823. data/ext/vendor/golang.org/x/text/internal/number/format_test.go +522 -0
  824. data/ext/vendor/golang.org/x/text/internal/number/gen.go +458 -0
  825. data/ext/vendor/golang.org/x/text/internal/number/gen_common.go +44 -0
  826. data/ext/vendor/golang.org/x/text/internal/number/number.go +154 -0
  827. data/ext/vendor/golang.org/x/text/internal/number/number_test.go +100 -0
  828. data/ext/vendor/golang.org/x/text/internal/number/pattern.go +485 -0
  829. data/ext/vendor/golang.org/x/text/internal/number/pattern_test.go +438 -0
  830. data/ext/vendor/golang.org/x/text/internal/number/roundingmode_string.go +16 -0
  831. data/ext/vendor/golang.org/x/text/internal/number/tables.go +1154 -0
  832. data/ext/vendor/golang.org/x/text/internal/number/tables_test.go +125 -0
  833. data/ext/vendor/golang.org/x/text/internal/stringset/set.go +86 -0
  834. data/ext/vendor/golang.org/x/text/internal/stringset/set_test.go +53 -0
  835. data/ext/vendor/golang.org/x/text/internal/tables.go +117 -0
  836. data/ext/vendor/golang.org/x/text/internal/tag/tag.go +100 -0
  837. data/ext/vendor/golang.org/x/text/internal/tag/tag_test.go +67 -0
  838. data/ext/vendor/golang.org/x/text/internal/testtext/codesize.go +53 -0
  839. data/ext/vendor/golang.org/x/text/internal/testtext/flag.go +22 -0
  840. data/ext/vendor/golang.org/x/text/internal/testtext/gc.go +14 -0
  841. data/ext/vendor/golang.org/x/text/internal/testtext/gccgo.go +11 -0
  842. data/ext/vendor/golang.org/x/text/internal/testtext/go1_6.go +23 -0
  843. data/ext/vendor/golang.org/x/text/internal/testtext/go1_7.go +17 -0
  844. data/ext/vendor/golang.org/x/text/internal/testtext/text.go +105 -0
  845. data/ext/vendor/golang.org/x/text/internal/triegen/compact.go +58 -0
  846. data/ext/vendor/golang.org/x/text/internal/triegen/data_test.go +875 -0
  847. data/ext/vendor/golang.org/x/text/internal/triegen/example_compact_test.go +71 -0
  848. data/ext/vendor/golang.org/x/text/internal/triegen/example_test.go +148 -0
  849. data/ext/vendor/golang.org/x/text/internal/triegen/gen_test.go +68 -0
  850. data/ext/vendor/golang.org/x/text/internal/triegen/print.go +251 -0
  851. data/ext/vendor/golang.org/x/text/internal/triegen/triegen.go +494 -0
  852. data/ext/vendor/golang.org/x/text/internal/ucd/example_test.go +81 -0
  853. data/ext/vendor/golang.org/x/text/internal/ucd/ucd.go +371 -0
  854. data/ext/vendor/golang.org/x/text/internal/ucd/ucd_test.go +105 -0
  855. data/ext/vendor/golang.org/x/text/internal/utf8internal/utf8internal.go +87 -0
  856. data/ext/vendor/golang.org/x/text/language/Makefile +16 -0
  857. data/ext/vendor/golang.org/x/text/language/common.go +16 -0
  858. data/ext/vendor/golang.org/x/text/language/coverage.go +197 -0
  859. data/ext/vendor/golang.org/x/text/language/coverage_test.go +154 -0
  860. data/ext/vendor/golang.org/x/text/language/display/dict.go +92 -0
  861. data/ext/vendor/golang.org/x/text/language/display/dict_test.go +39 -0
  862. data/ext/vendor/golang.org/x/text/language/display/display.go +420 -0
  863. data/ext/vendor/golang.org/x/text/language/display/display_test.go +705 -0
  864. data/ext/vendor/golang.org/x/text/language/display/examples_test.go +116 -0
  865. data/ext/vendor/golang.org/x/text/language/display/lookup.go +251 -0
  866. data/ext/vendor/golang.org/x/text/language/display/maketables.go +602 -0
  867. data/ext/vendor/golang.org/x/text/language/display/tables.go +50344 -0
  868. data/ext/vendor/golang.org/x/text/language/doc.go +102 -0
  869. data/ext/vendor/golang.org/x/text/language/examples_test.go +413 -0
  870. data/ext/vendor/golang.org/x/text/language/gen.go +1706 -0
  871. data/ext/vendor/golang.org/x/text/language/gen_common.go +20 -0
  872. data/ext/vendor/golang.org/x/text/language/gen_index.go +162 -0
  873. data/ext/vendor/golang.org/x/text/language/go1_1.go +38 -0
  874. data/ext/vendor/golang.org/x/text/language/go1_2.go +11 -0
  875. data/ext/vendor/golang.org/x/text/language/httpexample_test.go +48 -0
  876. data/ext/vendor/golang.org/x/text/language/index.go +769 -0
  877. data/ext/vendor/golang.org/x/text/language/language.go +887 -0
  878. data/ext/vendor/golang.org/x/text/language/language_test.go +878 -0
  879. data/ext/vendor/golang.org/x/text/language/lookup.go +396 -0
  880. data/ext/vendor/golang.org/x/text/language/lookup_test.go +457 -0
  881. data/ext/vendor/golang.org/x/text/language/match.go +933 -0
  882. data/ext/vendor/golang.org/x/text/language/match_test.go +505 -0
  883. data/ext/vendor/golang.org/x/text/language/parse.go +859 -0
  884. data/ext/vendor/golang.org/x/text/language/parse_test.go +517 -0
  885. data/ext/vendor/golang.org/x/text/language/tables.go +3675 -0
  886. data/ext/vendor/golang.org/x/text/language/tags.go +143 -0
  887. data/ext/vendor/golang.org/x/text/language/testdata/CLDRLocaleMatcherTest.txt +389 -0
  888. data/ext/vendor/golang.org/x/text/language/testdata/GoLocaleMatcherTest.txt +226 -0
  889. data/ext/vendor/golang.org/x/text/message/catalog.go +28 -0
  890. data/ext/vendor/golang.org/x/text/message/catalog/catalog.go +292 -0
  891. data/ext/vendor/golang.org/x/text/message/catalog/catalog_test.go +194 -0
  892. data/ext/vendor/golang.org/x/text/message/catalog/dict.go +90 -0
  893. data/ext/vendor/golang.org/x/text/message/doc.go +100 -0
  894. data/ext/vendor/golang.org/x/text/message/examples_test.go +42 -0
  895. data/ext/vendor/golang.org/x/text/message/fmt_test.go +1889 -0
  896. data/ext/vendor/golang.org/x/text/message/format.go +532 -0
  897. data/ext/vendor/golang.org/x/text/message/message.go +169 -0
  898. data/ext/vendor/golang.org/x/text/message/message_test.go +181 -0
  899. data/ext/vendor/golang.org/x/text/message/print.go +1194 -0
  900. data/ext/vendor/golang.org/x/text/number/doc.go +28 -0
  901. data/ext/vendor/golang.org/x/text/number/examples_test.go +28 -0
  902. data/ext/vendor/golang.org/x/text/number/format.go +122 -0
  903. data/ext/vendor/golang.org/x/text/number/format_test.go +107 -0
  904. data/ext/vendor/golang.org/x/text/number/number.go +77 -0
  905. data/ext/vendor/golang.org/x/text/number/number_test.go +190 -0
  906. data/ext/vendor/golang.org/x/text/number/option.go +177 -0
  907. data/ext/vendor/golang.org/x/text/runes/cond.go +187 -0
  908. data/ext/vendor/golang.org/x/text/runes/cond_test.go +282 -0
  909. data/ext/vendor/golang.org/x/text/runes/example_test.go +60 -0
  910. data/ext/vendor/golang.org/x/text/runes/runes.go +355 -0
  911. data/ext/vendor/golang.org/x/text/runes/runes_test.go +664 -0
  912. data/ext/vendor/golang.org/x/text/search/index.go +35 -0
  913. data/ext/vendor/golang.org/x/text/search/pattern.go +155 -0
  914. data/ext/vendor/golang.org/x/text/search/pattern_test.go +357 -0
  915. data/ext/vendor/golang.org/x/text/search/search.go +237 -0
  916. data/ext/vendor/golang.org/x/text/search/tables.go +12448 -0
  917. data/ext/vendor/golang.org/x/text/secure/bidirule/bench_test.go +54 -0
  918. data/ext/vendor/golang.org/x/text/secure/bidirule/bidirule.go +340 -0
  919. data/ext/vendor/golang.org/x/text/secure/bidirule/bidirule_test.go +851 -0
  920. data/ext/vendor/golang.org/x/text/secure/doc.go +6 -0
  921. data/ext/vendor/golang.org/x/text/secure/precis/benchmark_test.go +82 -0
  922. data/ext/vendor/golang.org/x/text/secure/precis/class.go +36 -0
  923. data/ext/vendor/golang.org/x/text/secure/precis/class_test.go +50 -0
  924. data/ext/vendor/golang.org/x/text/secure/precis/context.go +139 -0
  925. data/ext/vendor/golang.org/x/text/secure/precis/doc.go +14 -0
  926. data/ext/vendor/golang.org/x/text/secure/precis/enforce_test.go +396 -0
  927. data/ext/vendor/golang.org/x/text/secure/precis/gen.go +310 -0
  928. data/ext/vendor/golang.org/x/text/secure/precis/gen_trieval.go +68 -0
  929. data/ext/vendor/golang.org/x/text/secure/precis/nickname.go +72 -0
  930. data/ext/vendor/golang.org/x/text/secure/precis/options.go +157 -0
  931. data/ext/vendor/golang.org/x/text/secure/precis/profile.go +402 -0
  932. data/ext/vendor/golang.org/x/text/secure/precis/profile_test.go +149 -0
  933. data/ext/vendor/golang.org/x/text/secure/precis/profiles.go +78 -0
  934. data/ext/vendor/golang.org/x/text/secure/precis/tables.go +3887 -0
  935. data/ext/vendor/golang.org/x/text/secure/precis/tables_test.go +69 -0
  936. data/ext/vendor/golang.org/x/text/secure/precis/transformer.go +32 -0
  937. data/ext/vendor/golang.org/x/text/secure/precis/trieval.go +64 -0
  938. data/ext/vendor/golang.org/x/text/transform/examples_test.go +37 -0
  939. data/ext/vendor/golang.org/x/text/transform/transform.go +705 -0
  940. data/ext/vendor/golang.org/x/text/transform/transform_test.go +1317 -0
  941. data/ext/vendor/golang.org/x/text/unicode/bidi/bidi.go +198 -0
  942. data/ext/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
  943. data/ext/vendor/golang.org/x/text/unicode/bidi/core.go +1058 -0
  944. data/ext/vendor/golang.org/x/text/unicode/bidi/core_test.go +224 -0
  945. data/ext/vendor/golang.org/x/text/unicode/bidi/gen.go +133 -0
  946. data/ext/vendor/golang.org/x/text/unicode/bidi/gen_ranges.go +57 -0
  947. data/ext/vendor/golang.org/x/text/unicode/bidi/gen_trieval.go +64 -0
  948. data/ext/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
  949. data/ext/vendor/golang.org/x/text/unicode/bidi/ranges_test.go +53 -0
  950. data/ext/vendor/golang.org/x/text/unicode/bidi/tables.go +1813 -0
  951. data/ext/vendor/golang.org/x/text/unicode/bidi/tables_test.go +82 -0
  952. data/ext/vendor/golang.org/x/text/unicode/bidi/trieval.go +60 -0
  953. data/ext/vendor/golang.org/x/text/unicode/cldr/base.go +100 -0
  954. data/ext/vendor/golang.org/x/text/unicode/cldr/cldr.go +130 -0
  955. data/ext/vendor/golang.org/x/text/unicode/cldr/cldr_test.go +27 -0
  956. data/ext/vendor/golang.org/x/text/unicode/cldr/collate.go +359 -0
  957. data/ext/vendor/golang.org/x/text/unicode/cldr/collate_test.go +275 -0
  958. data/ext/vendor/golang.org/x/text/unicode/cldr/data_test.go +186 -0
  959. data/ext/vendor/golang.org/x/text/unicode/cldr/decode.go +171 -0
  960. data/ext/vendor/golang.org/x/text/unicode/cldr/examples_test.go +21 -0
  961. data/ext/vendor/golang.org/x/text/unicode/cldr/makexml.go +400 -0
  962. data/ext/vendor/golang.org/x/text/unicode/cldr/resolve.go +602 -0
  963. data/ext/vendor/golang.org/x/text/unicode/cldr/resolve_test.go +368 -0
  964. data/ext/vendor/golang.org/x/text/unicode/cldr/slice.go +144 -0
  965. data/ext/vendor/golang.org/x/text/unicode/cldr/slice_test.go +175 -0
  966. data/ext/vendor/golang.org/x/text/unicode/cldr/xml.go +1487 -0
  967. data/ext/vendor/golang.org/x/text/unicode/doc.go +8 -0
  968. data/ext/vendor/golang.org/x/text/unicode/norm/composition.go +508 -0
  969. data/ext/vendor/golang.org/x/text/unicode/norm/composition_test.go +130 -0
  970. data/ext/vendor/golang.org/x/text/unicode/norm/example_iter_test.go +82 -0
  971. data/ext/vendor/golang.org/x/text/unicode/norm/example_test.go +27 -0
  972. data/ext/vendor/golang.org/x/text/unicode/norm/forminfo.go +259 -0
  973. data/ext/vendor/golang.org/x/text/unicode/norm/forminfo_test.go +54 -0
  974. data/ext/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
  975. data/ext/vendor/golang.org/x/text/unicode/norm/iter.go +457 -0
  976. data/ext/vendor/golang.org/x/text/unicode/norm/iter_test.go +98 -0
  977. data/ext/vendor/golang.org/x/text/unicode/norm/maketables.go +976 -0
  978. data/ext/vendor/golang.org/x/text/unicode/norm/norm_test.go +14 -0
  979. data/ext/vendor/golang.org/x/text/unicode/norm/normalize.go +609 -0
  980. data/ext/vendor/golang.org/x/text/unicode/norm/normalize_test.go +1287 -0
  981. data/ext/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
  982. data/ext/vendor/golang.org/x/text/unicode/norm/readwriter_test.go +56 -0
  983. data/ext/vendor/golang.org/x/text/unicode/norm/tables.go +7651 -0
  984. data/ext/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
  985. data/ext/vendor/golang.org/x/text/unicode/norm/transform_test.go +101 -0
  986. data/ext/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
  987. data/ext/vendor/golang.org/x/text/unicode/norm/triegen.go +117 -0
  988. data/ext/vendor/golang.org/x/text/unicode/norm/ucd_test.go +275 -0
  989. data/ext/vendor/golang.org/x/text/unicode/rangetable/gen.go +115 -0
  990. data/ext/vendor/golang.org/x/text/unicode/rangetable/merge.go +260 -0
  991. data/ext/vendor/golang.org/x/text/unicode/rangetable/merge_test.go +184 -0
  992. data/ext/vendor/golang.org/x/text/unicode/rangetable/rangetable.go +70 -0
  993. data/ext/vendor/golang.org/x/text/unicode/rangetable/rangetable_test.go +55 -0
  994. data/ext/vendor/golang.org/x/text/unicode/rangetable/tables.go +6376 -0
  995. data/ext/vendor/golang.org/x/text/unicode/runenames/bits.go +59 -0
  996. data/ext/vendor/golang.org/x/text/unicode/runenames/example_test.go +118 -0
  997. data/ext/vendor/golang.org/x/text/unicode/runenames/gen.go +195 -0
  998. data/ext/vendor/golang.org/x/text/unicode/runenames/gen_bits.go +63 -0
  999. data/ext/vendor/golang.org/x/text/unicode/runenames/runenames.go +48 -0
  1000. data/ext/vendor/golang.org/x/text/unicode/runenames/runenames_test.go +46 -0
  1001. data/ext/vendor/golang.org/x/text/unicode/runenames/tables.go +15514 -0
  1002. data/ext/vendor/golang.org/x/text/width/common_test.go +92 -0
  1003. data/ext/vendor/golang.org/x/text/width/example_test.go +52 -0
  1004. data/ext/vendor/golang.org/x/text/width/gen.go +115 -0
  1005. data/ext/vendor/golang.org/x/text/width/gen_common.go +96 -0
  1006. data/ext/vendor/golang.org/x/text/width/gen_trieval.go +34 -0
  1007. data/ext/vendor/golang.org/x/text/width/kind_string.go +16 -0
  1008. data/ext/vendor/golang.org/x/text/width/runes_test.go +461 -0
  1009. data/ext/vendor/golang.org/x/text/width/tables.go +1316 -0
  1010. data/ext/vendor/golang.org/x/text/width/tables_test.go +59 -0
  1011. data/ext/vendor/golang.org/x/text/width/transform.go +239 -0
  1012. data/ext/vendor/golang.org/x/text/width/transform_test.go +701 -0
  1013. data/ext/vendor/golang.org/x/text/width/trieval.go +30 -0
  1014. data/ext/vendor/golang.org/x/text/width/width.go +206 -0
  1015. data/lib/ires/version.rb +1 -1
  1016. data/shared/darwin/ires.so +0 -0
  1017. data/shared/linux/ires.so +0 -0
  1018. metadata +1011 -23
  1019. data/ext/operate/image.go +0 -176
  1020. data/ext/util/uri/uri.go +0 -105
  1021. data/ext/vendor/github.com/satori/go.uuid/README.md +0 -65
  1022. data/ext/vendor/github.com/satori/go.uuid/benchmarks_test.go +0 -121
  1023. data/ext/vendor/github.com/satori/go.uuid/uuid.go +0 -488
  1024. data/ext/vendor/github.com/satori/go.uuid/uuid_test.go +0 -633
@@ -0,0 +1,209 @@
1
+ // Copyright 2015 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ //go:generate go run gen.go
6
+
7
+ // Package ianaindex maps names to Encodings as specified by the IANA registry.
8
+ // This includes both the MIME and IANA names.
9
+ //
10
+ // See http://www.iana.org/assignments/character-sets/character-sets.xhtml for
11
+ // more details.
12
+ package ianaindex
13
+
14
+ import (
15
+ "errors"
16
+ "sort"
17
+ "strings"
18
+
19
+ "golang.org/x/text/encoding"
20
+ "golang.org/x/text/encoding/charmap"
21
+ "golang.org/x/text/encoding/internal/identifier"
22
+ "golang.org/x/text/encoding/japanese"
23
+ "golang.org/x/text/encoding/korean"
24
+ "golang.org/x/text/encoding/simplifiedchinese"
25
+ "golang.org/x/text/encoding/traditionalchinese"
26
+ "golang.org/x/text/encoding/unicode"
27
+ )
28
+
29
+ // TODO: remove the "Status... incomplete" in the package doc comment.
30
+ // TODO: allow users to specify their own aliases?
31
+ // TODO: allow users to specify their own indexes?
32
+ // TODO: allow canonicalizing names
33
+
34
+ // NOTE: only use these top-level variables if we can get the linker to drop
35
+ // the indexes when they are not used. Make them a function or perhaps only
36
+ // support MIME otherwise.
37
+
38
+ var (
39
+ // MIME is an index to map MIME names.
40
+ MIME *Index = mime
41
+
42
+ // IANA is an index that supports all names and aliases using IANA names as
43
+ // the canonical identifier.
44
+ IANA *Index = iana
45
+
46
+ // MIB is an index that associates the MIB display name with an Encoding.
47
+ MIB *Index = mib
48
+
49
+ mime = &Index{mimeName, ianaToMIB, ianaAliases, encodings[:]}
50
+ iana = &Index{ianaName, ianaToMIB, ianaAliases, encodings[:]}
51
+ mib = &Index{mibName, ianaToMIB, ianaAliases, encodings[:]}
52
+ )
53
+
54
+ // Index maps names registered by IANA to Encodings.
55
+ // Currently different Indexes only differ in the names they return for
56
+ // encodings. In the future they may also differ in supported aliases.
57
+ type Index struct {
58
+ names func(i int) string
59
+ toMIB []identifier.MIB // Sorted slice of supported MIBs
60
+ alias map[string]int
61
+ enc []encoding.Encoding
62
+ }
63
+
64
+ var (
65
+ errInvalidName = errors.New("ianaindex: invalid encoding name")
66
+ errUnknown = errors.New("ianaindex: unknown Encoding")
67
+ errUnsupported = errors.New("ianaindex: unsupported Encoding")
68
+ )
69
+
70
+ // Encoding returns an Encoding for IANA-registered names. Matching is
71
+ // case-insensitive.
72
+ func (x *Index) Encoding(name string) (encoding.Encoding, error) {
73
+ name = strings.TrimSpace(name)
74
+ // First try without lowercasing (possibly creating an allocation).
75
+ i, ok := x.alias[name]
76
+ if !ok {
77
+ i, ok = x.alias[strings.ToLower(name)]
78
+ if !ok {
79
+ return nil, errInvalidName
80
+ }
81
+ }
82
+ return x.enc[i], nil
83
+ }
84
+
85
+ // Name reports the canonical name of the given Encoding. It will return an
86
+ // error if the e is not associated with a known encoding scheme.
87
+ func (x *Index) Name(e encoding.Encoding) (string, error) {
88
+ id, ok := e.(identifier.Interface)
89
+ if !ok {
90
+ return "", errUnknown
91
+ }
92
+ mib, _ := id.ID()
93
+ if mib == 0 {
94
+ return "", errUnknown
95
+ }
96
+ v := findMIB(x.toMIB, mib)
97
+ if v == -1 {
98
+ return "", errUnsupported
99
+ }
100
+ return x.names(v), nil
101
+ }
102
+
103
+ // TODO: the coverage of this index is rather spotty. Allowing users to set
104
+ // encodings would allow:
105
+ // - users to increase coverage
106
+ // - allow a partially loaded set of encodings in case the user doesn't need to
107
+ // them all.
108
+ // - write an OS-specific wrapper for supported encodings and set them.
109
+ // The exact definition of Set depends a bit on if and how we want to let users
110
+ // write their own Encoding implementations. Also, it is not possible yet to
111
+ // only partially load the encodings without doing some refactoring. Until this
112
+ // is solved, we might as well not support Set.
113
+ // // Set sets the e to be used for the encoding scheme identified by name. Only
114
+ // // canonical names may be used. An empty name assigns e to its internally
115
+ // // associated encoding scheme.
116
+ // func (x *Index) Set(name string, e encoding.Encoding) error {
117
+ // panic("TODO: implement")
118
+ // }
119
+
120
+ func findMIB(x []identifier.MIB, mib identifier.MIB) int {
121
+ i := sort.Search(len(x), func(i int) bool { return x[i] >= mib })
122
+ if i < len(x) && x[i] == mib {
123
+ return i
124
+ }
125
+ return -1
126
+ }
127
+
128
+ const maxMIMENameLen = '0' - 1 // officially 40, but we leave some buffer.
129
+
130
+ func mimeName(x int) string {
131
+ n := ianaNames[x]
132
+ // See gen.go for a description of the encoding.
133
+ if n[0] <= maxMIMENameLen {
134
+ return n[1:n[0]]
135
+ }
136
+ return n
137
+ }
138
+
139
+ func ianaName(x int) string {
140
+ n := ianaNames[x]
141
+ // See gen.go for a description of the encoding.
142
+ if n[0] <= maxMIMENameLen {
143
+ return n[n[0]:]
144
+ }
145
+ return n
146
+ }
147
+
148
+ func mibName(x int) string {
149
+ return mibNames[x]
150
+ }
151
+
152
+ var encodings = [numIANA]encoding.Encoding{
153
+ enc106: unicode.UTF8,
154
+ enc1015: unicode.UTF16(unicode.BigEndian, unicode.UseBOM),
155
+ enc1013: unicode.UTF16(unicode.BigEndian, unicode.IgnoreBOM),
156
+ enc1014: unicode.UTF16(unicode.LittleEndian, unicode.IgnoreBOM),
157
+ enc2028: charmap.CodePage037,
158
+ enc2011: charmap.CodePage437,
159
+ enc2009: charmap.CodePage850,
160
+ enc2010: charmap.CodePage852,
161
+ enc2046: charmap.CodePage855,
162
+ enc2089: charmap.CodePage858,
163
+ enc2048: charmap.CodePage860,
164
+ enc2013: charmap.CodePage862,
165
+ enc2050: charmap.CodePage863,
166
+ enc2052: charmap.CodePage865,
167
+ enc2086: charmap.CodePage866,
168
+ enc2102: charmap.CodePage1047,
169
+ enc2091: charmap.CodePage1140,
170
+ enc4: charmap.ISO8859_1,
171
+ enc5: charmap.ISO8859_2,
172
+ enc6: charmap.ISO8859_3,
173
+ enc7: charmap.ISO8859_4,
174
+ enc8: charmap.ISO8859_5,
175
+ enc9: charmap.ISO8859_6,
176
+ enc81: charmap.ISO8859_6E,
177
+ enc82: charmap.ISO8859_6I,
178
+ enc10: charmap.ISO8859_7,
179
+ enc11: charmap.ISO8859_8,
180
+ enc84: charmap.ISO8859_8E,
181
+ enc85: charmap.ISO8859_8I,
182
+ enc12: charmap.ISO8859_9,
183
+ enc13: charmap.ISO8859_10,
184
+ enc109: charmap.ISO8859_13,
185
+ enc110: charmap.ISO8859_14,
186
+ enc111: charmap.ISO8859_15,
187
+ enc112: charmap.ISO8859_16,
188
+ enc2084: charmap.KOI8R,
189
+ enc2088: charmap.KOI8U,
190
+ enc2027: charmap.Macintosh,
191
+ enc2109: charmap.Windows874,
192
+ enc2250: charmap.Windows1250,
193
+ enc2251: charmap.Windows1251,
194
+ enc2252: charmap.Windows1252,
195
+ enc2253: charmap.Windows1253,
196
+ enc2254: charmap.Windows1254,
197
+ enc2255: charmap.Windows1255,
198
+ enc2256: charmap.Windows1256,
199
+ enc2257: charmap.Windows1257,
200
+ enc2258: charmap.Windows1258,
201
+ enc18: japanese.EUCJP,
202
+ enc39: japanese.ISO2022JP,
203
+ enc17: japanese.ShiftJIS,
204
+ enc38: korean.EUCKR,
205
+ enc114: simplifiedchinese.GB18030,
206
+ enc113: simplifiedchinese.GBK,
207
+ enc2085: simplifiedchinese.HZGB2312,
208
+ enc2026: traditionalchinese.Big5,
209
+ }
@@ -0,0 +1,192 @@
1
+ // Copyright 2017 The Go Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style
3
+ // license that can be found in the LICENSE file.
4
+
5
+ package ianaindex
6
+
7
+ import (
8
+ "testing"
9
+
10
+ "golang.org/x/text/encoding"
11
+ "golang.org/x/text/encoding/charmap"
12
+ "golang.org/x/text/encoding/internal/identifier"
13
+ "golang.org/x/text/encoding/japanese"
14
+ "golang.org/x/text/encoding/korean"
15
+ "golang.org/x/text/encoding/simplifiedchinese"
16
+ "golang.org/x/text/encoding/traditionalchinese"
17
+ "golang.org/x/text/encoding/unicode"
18
+ )
19
+
20
+ var All = [][]encoding.Encoding{
21
+ unicode.All,
22
+ charmap.All,
23
+ japanese.All,
24
+ korean.All,
25
+ simplifiedchinese.All,
26
+ traditionalchinese.All,
27
+ }
28
+
29
+ // TestAllIANA tests whether an Encoding supported in x/text is defined by IANA but
30
+ // not supported by this package.
31
+ func TestAllIANA(t *testing.T) {
32
+ for _, ea := range All {
33
+ for _, e := range ea {
34
+ mib, _ := e.(identifier.Interface).ID()
35
+ if x := findMIB(ianaToMIB, mib); x != -1 && encodings[x] == nil {
36
+ t.Errorf("supported MIB %v (%v) not in index", mib, e)
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ // TestNotSupported reports the encodings in IANA, but not by x/text.
43
+ func TestNotSupported(t *testing.T) {
44
+ mibs := map[identifier.MIB]bool{}
45
+ for _, ea := range All {
46
+ for _, e := range ea {
47
+ mib, _ := e.(identifier.Interface).ID()
48
+ mibs[mib] = true
49
+ }
50
+ }
51
+
52
+ // Many encodings in the IANA index will likely not be suppored by the
53
+ // Go encodings. That is fine.
54
+ // TODO: consider wheter we should add this test.
55
+ // for code, mib := range ianaToMIB {
56
+ // t.Run(fmt.Sprint("IANA:", mib), func(t *testing.T) {
57
+ // if !mibs[mib] {
58
+ // t.Skipf("IANA encoding %s (MIB %v) not supported",
59
+ // ianaNames[code], mib)
60
+ // }
61
+ // })
62
+ // }
63
+ }
64
+
65
+ func TestEncoding(t *testing.T) {
66
+ testCases := []struct {
67
+ index *Index
68
+ name string
69
+ canonical string
70
+ err error
71
+ }{
72
+ {MIME, "utf-8", "UTF-8", nil},
73
+ {MIME, " utf-8 ", "UTF-8", nil},
74
+ {MIME, " l5 ", "ISO-8859-9", nil},
75
+ {MIME, "latin5 ", "ISO-8859-9", nil},
76
+ {MIME, "LATIN5 ", "ISO-8859-9", nil},
77
+ {MIME, "latin 5", "", errInvalidName},
78
+ {MIME, "latin-5", "", errInvalidName},
79
+
80
+ {IANA, "utf-8", "UTF-8", nil},
81
+ {IANA, " utf-8 ", "UTF-8", nil},
82
+ {IANA, " l5 ", "ISO_8859-9:1989", nil},
83
+ {IANA, "latin5 ", "ISO_8859-9:1989", nil},
84
+ {IANA, "LATIN5 ", "ISO_8859-9:1989", nil},
85
+ {IANA, "latin 5", "", errInvalidName},
86
+ {IANA, "latin-5", "", errInvalidName},
87
+
88
+ {MIB, "utf-8", "UTF8", nil},
89
+ {MIB, " utf-8 ", "UTF8", nil},
90
+ {MIB, " l5 ", "ISOLatin5", nil},
91
+ {MIB, "latin5 ", "ISOLatin5", nil},
92
+ {MIB, "LATIN5 ", "ISOLatin5", nil},
93
+ {MIB, "latin 5", "", errInvalidName},
94
+ {MIB, "latin-5", "", errInvalidName},
95
+ }
96
+ for i, tc := range testCases {
97
+ enc, err := tc.index.Encoding(tc.name)
98
+ if err != tc.err {
99
+ t.Errorf("%d: error was %v; want %v", i, err, tc.err)
100
+ }
101
+ if err != nil {
102
+ continue
103
+ }
104
+ if got, err := tc.index.Name(enc); got != tc.canonical {
105
+ t.Errorf("%d: Name(Encoding(%q)) = %q; want %q (%v)", i, tc.name, got, tc.canonical, err)
106
+ }
107
+ }
108
+ }
109
+
110
+ func TestTables(t *testing.T) {
111
+ for i, x := range []*Index{MIME, IANA} {
112
+ for name, index := range x.alias {
113
+ got, err := x.Encoding(name)
114
+ if err != nil {
115
+ t.Errorf("%d%s:err: unexpected error %v", i, name, err)
116
+ }
117
+ if want := x.enc[index]; got != want {
118
+ t.Errorf("%d%s:encoding: got %v; want %v", i, name, got, want)
119
+ }
120
+ if got != nil {
121
+ mib, _ := got.(identifier.Interface).ID()
122
+ if i := findMIB(x.toMIB, mib); i != index {
123
+ t.Errorf("%d%s:mib: got %d; want %d", i, name, i, index)
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ type unsupported struct {
131
+ encoding.Encoding
132
+ }
133
+
134
+ func (unsupported) ID() (identifier.MIB, string) { return 9999, "" }
135
+
136
+ func TestName(t *testing.T) {
137
+ testCases := []struct {
138
+ desc string
139
+ enc encoding.Encoding
140
+ f func(e encoding.Encoding) (string, error)
141
+ name string
142
+ err error
143
+ }{{
144
+ "defined encoding",
145
+ charmap.ISO8859_2,
146
+ MIME.Name,
147
+ "ISO-8859-2",
148
+ nil,
149
+ }, {
150
+ "defined Unicode encoding",
151
+ unicode.UTF16(unicode.BigEndian, unicode.IgnoreBOM),
152
+ IANA.Name,
153
+ "UTF-16BE",
154
+ nil,
155
+ }, {
156
+ "another defined Unicode encoding",
157
+ unicode.UTF16(unicode.BigEndian, unicode.UseBOM),
158
+ MIME.Name,
159
+ "UTF-16",
160
+ nil,
161
+ }, {
162
+ "unknown Unicode encoding",
163
+ unicode.UTF16(unicode.BigEndian, unicode.ExpectBOM),
164
+ MIME.Name,
165
+ "",
166
+ errUnknown,
167
+ }, {
168
+ "undefined encoding",
169
+ unsupported{},
170
+ MIME.Name,
171
+ "",
172
+ errUnsupported,
173
+ }, {
174
+ "undefined other encoding in HTML standard",
175
+ charmap.CodePage437,
176
+ IANA.Name,
177
+ "IBM437",
178
+ nil,
179
+ }, {
180
+ "unknown encoding",
181
+ encoding.Nop,
182
+ IANA.Name,
183
+ "",
184
+ errUnknown,
185
+ }}
186
+ for i, tc := range testCases {
187
+ name, err := tc.f(tc.enc)
188
+ if name != tc.name || err != tc.err {
189
+ t.Errorf("%d:%s: got %q, %v; want %q, %v", i, tc.desc, name, err, tc.name, tc.err)
190
+ }
191
+ }
192
+ }
@@ -0,0 +1,2348 @@
1
+ // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2
+
3
+ package ianaindex
4
+
5
+ import "golang.org/x/text/encoding/internal/identifier"
6
+
7
+ const (
8
+ enc3 = iota
9
+ enc4
10
+ enc5
11
+ enc6
12
+ enc7
13
+ enc8
14
+ enc9
15
+ enc10
16
+ enc11
17
+ enc12
18
+ enc13
19
+ enc14
20
+ enc15
21
+ enc16
22
+ enc17
23
+ enc18
24
+ enc19
25
+ enc20
26
+ enc21
27
+ enc22
28
+ enc23
29
+ enc24
30
+ enc25
31
+ enc26
32
+ enc27
33
+ enc28
34
+ enc29
35
+ enc30
36
+ enc31
37
+ enc32
38
+ enc33
39
+ enc34
40
+ enc35
41
+ enc36
42
+ enc37
43
+ enc38
44
+ enc39
45
+ enc40
46
+ enc41
47
+ enc42
48
+ enc43
49
+ enc44
50
+ enc45
51
+ enc46
52
+ enc47
53
+ enc48
54
+ enc49
55
+ enc50
56
+ enc51
57
+ enc52
58
+ enc53
59
+ enc54
60
+ enc55
61
+ enc56
62
+ enc57
63
+ enc58
64
+ enc59
65
+ enc60
66
+ enc61
67
+ enc62
68
+ enc63
69
+ enc64
70
+ enc65
71
+ enc66
72
+ enc67
73
+ enc68
74
+ enc69
75
+ enc70
76
+ enc71
77
+ enc72
78
+ enc73
79
+ enc74
80
+ enc75
81
+ enc76
82
+ enc77
83
+ enc78
84
+ enc79
85
+ enc80
86
+ enc81
87
+ enc82
88
+ enc83
89
+ enc84
90
+ enc85
91
+ enc86
92
+ enc87
93
+ enc88
94
+ enc89
95
+ enc90
96
+ enc91
97
+ enc92
98
+ enc93
99
+ enc94
100
+ enc95
101
+ enc96
102
+ enc97
103
+ enc98
104
+ enc99
105
+ enc100
106
+ enc101
107
+ enc102
108
+ enc103
109
+ enc104
110
+ enc105
111
+ enc106
112
+ enc109
113
+ enc110
114
+ enc111
115
+ enc112
116
+ enc113
117
+ enc114
118
+ enc115
119
+ enc116
120
+ enc117
121
+ enc118
122
+ enc119
123
+ enc1000
124
+ enc1001
125
+ enc1002
126
+ enc1003
127
+ enc1004
128
+ enc1005
129
+ enc1006
130
+ enc1007
131
+ enc1008
132
+ enc1009
133
+ enc1010
134
+ enc1011
135
+ enc1012
136
+ enc1013
137
+ enc1014
138
+ enc1015
139
+ enc1016
140
+ enc1017
141
+ enc1018
142
+ enc1019
143
+ enc1020
144
+ enc2000
145
+ enc2001
146
+ enc2002
147
+ enc2003
148
+ enc2004
149
+ enc2005
150
+ enc2006
151
+ enc2007
152
+ enc2008
153
+ enc2009
154
+ enc2010
155
+ enc2011
156
+ enc2012
157
+ enc2013
158
+ enc2014
159
+ enc2015
160
+ enc2016
161
+ enc2017
162
+ enc2018
163
+ enc2019
164
+ enc2020
165
+ enc2021
166
+ enc2022
167
+ enc2023
168
+ enc2024
169
+ enc2025
170
+ enc2026
171
+ enc2027
172
+ enc2028
173
+ enc2029
174
+ enc2030
175
+ enc2031
176
+ enc2032
177
+ enc2033
178
+ enc2034
179
+ enc2035
180
+ enc2036
181
+ enc2037
182
+ enc2038
183
+ enc2039
184
+ enc2040
185
+ enc2041
186
+ enc2042
187
+ enc2043
188
+ enc2044
189
+ enc2045
190
+ enc2046
191
+ enc2047
192
+ enc2048
193
+ enc2049
194
+ enc2050
195
+ enc2051
196
+ enc2052
197
+ enc2053
198
+ enc2054
199
+ enc2055
200
+ enc2056
201
+ enc2057
202
+ enc2058
203
+ enc2059
204
+ enc2060
205
+ enc2061
206
+ enc2062
207
+ enc2063
208
+ enc2064
209
+ enc2065
210
+ enc2066
211
+ enc2067
212
+ enc2068
213
+ enc2069
214
+ enc2070
215
+ enc2071
216
+ enc2072
217
+ enc2073
218
+ enc2074
219
+ enc2075
220
+ enc2076
221
+ enc2077
222
+ enc2078
223
+ enc2079
224
+ enc2080
225
+ enc2081
226
+ enc2082
227
+ enc2083
228
+ enc2084
229
+ enc2085
230
+ enc2086
231
+ enc2087
232
+ enc2088
233
+ enc2089
234
+ enc2090
235
+ enc2091
236
+ enc2092
237
+ enc2093
238
+ enc2094
239
+ enc2095
240
+ enc2096
241
+ enc2097
242
+ enc2098
243
+ enc2099
244
+ enc2100
245
+ enc2101
246
+ enc2102
247
+ enc2103
248
+ enc2104
249
+ enc2105
250
+ enc2106
251
+ enc2107
252
+ enc2108
253
+ enc2109
254
+ enc2250
255
+ enc2251
256
+ enc2252
257
+ enc2253
258
+ enc2254
259
+ enc2255
260
+ enc2256
261
+ enc2257
262
+ enc2258
263
+ enc2259
264
+ enc2260
265
+ numIANA
266
+ )
267
+
268
+ var ianaToMIB = []identifier.MIB{ // 257 elements
269
+ // Entry 0 - 3F
270
+ 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000a,
271
+ 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012,
272
+ 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, 0x0018, 0x0019, 0x001a,
273
+ 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, 0x0020, 0x0021, 0x0022,
274
+ 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a,
275
+ 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032,
276
+ 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a,
277
+ 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042,
278
+ // Entry 40 - 7F
279
+ 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a,
280
+ 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052,
281
+ 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a,
282
+ 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062,
283
+ 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a,
284
+ 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074,
285
+ 0x0075, 0x0076, 0x0077, 0x03e8, 0x03e9, 0x03ea, 0x03eb, 0x03ec,
286
+ 0x03ed, 0x03ee, 0x03ef, 0x03f0, 0x03f1, 0x03f2, 0x03f3, 0x03f4,
287
+ // Entry 80 - BF
288
+ 0x03f5, 0x03f6, 0x03f7, 0x03f8, 0x03f9, 0x03fa, 0x03fb, 0x03fc,
289
+ 0x07d0, 0x07d1, 0x07d2, 0x07d3, 0x07d4, 0x07d5, 0x07d6, 0x07d7,
290
+ 0x07d8, 0x07d9, 0x07da, 0x07db, 0x07dc, 0x07dd, 0x07de, 0x07df,
291
+ 0x07e0, 0x07e1, 0x07e2, 0x07e3, 0x07e4, 0x07e5, 0x07e6, 0x07e7,
292
+ 0x07e8, 0x07e9, 0x07ea, 0x07eb, 0x07ec, 0x07ed, 0x07ee, 0x07ef,
293
+ 0x07f0, 0x07f1, 0x07f2, 0x07f3, 0x07f4, 0x07f5, 0x07f6, 0x07f7,
294
+ 0x07f8, 0x07f9, 0x07fa, 0x07fb, 0x07fc, 0x07fd, 0x07fe, 0x07ff,
295
+ 0x0800, 0x0801, 0x0802, 0x0803, 0x0804, 0x0805, 0x0806, 0x0807,
296
+ // Entry C0 - FF
297
+ 0x0808, 0x0809, 0x080a, 0x080b, 0x080c, 0x080d, 0x080e, 0x080f,
298
+ 0x0810, 0x0811, 0x0812, 0x0813, 0x0814, 0x0815, 0x0816, 0x0817,
299
+ 0x0818, 0x0819, 0x081a, 0x081b, 0x081c, 0x081d, 0x081e, 0x081f,
300
+ 0x0820, 0x0821, 0x0822, 0x0823, 0x0824, 0x0825, 0x0826, 0x0827,
301
+ 0x0828, 0x0829, 0x082a, 0x082b, 0x082c, 0x082d, 0x082e, 0x082f,
302
+ 0x0830, 0x0831, 0x0832, 0x0833, 0x0834, 0x0835, 0x0836, 0x0837,
303
+ 0x0838, 0x0839, 0x083a, 0x083b, 0x083c, 0x083d, 0x08ca, 0x08cb,
304
+ 0x08cc, 0x08cd, 0x08ce, 0x08cf, 0x08d0, 0x08d1, 0x08d2, 0x08d3,
305
+ // Entry 100 - 13F
306
+ 0x08d4,
307
+ } // Size: 538 bytes
308
+
309
+ var ianaNames = []string{ // 257 elements
310
+ "US-ASCII",
311
+ "\vISO-8859-1ISO_8859-1:1987",
312
+ "\vISO-8859-2ISO_8859-2:1987",
313
+ "\vISO-8859-3ISO_8859-3:1988",
314
+ "\vISO-8859-4ISO_8859-4:1988",
315
+ "\vISO-8859-5ISO_8859-5:1988",
316
+ "\vISO-8859-6ISO_8859-6:1987",
317
+ "\vISO-8859-7ISO_8859-7:1987",
318
+ "\vISO-8859-8ISO_8859-8:1988",
319
+ "\vISO-8859-9ISO_8859-9:1989",
320
+ "ISO-8859-10",
321
+ "ISO_6937-2-add",
322
+ "JIS_X0201",
323
+ "JIS_Encoding",
324
+ "Shift_JIS",
325
+ "\x07EUC-JPExtended_UNIX_Code_Packed_Format_for_Japanese",
326
+ "Extended_UNIX_Code_Fixed_Width_for_Japanese",
327
+ "BS_4730",
328
+ "SEN_850200_C",
329
+ "IT",
330
+ "ES",
331
+ "DIN_66003",
332
+ "NS_4551-1",
333
+ "NF_Z_62-010",
334
+ "ISO-10646-UTF-1",
335
+ "ISO_646.basic:1983",
336
+ "INVARIANT",
337
+ "ISO_646.irv:1983",
338
+ "NATS-SEFI",
339
+ "NATS-SEFI-ADD",
340
+ "NATS-DANO",
341
+ "NATS-DANO-ADD",
342
+ "SEN_850200_B",
343
+ "KS_C_5601-1987",
344
+ "ISO-2022-KR",
345
+ "EUC-KR",
346
+ "ISO-2022-JP",
347
+ "ISO-2022-JP-2",
348
+ "JIS_C6220-1969-jp",
349
+ "JIS_C6220-1969-ro",
350
+ "PT",
351
+ "greek7-old",
352
+ "latin-greek",
353
+ "NF_Z_62-010_(1973)",
354
+ "Latin-greek-1",
355
+ "ISO_5427",
356
+ "JIS_C6226-1978",
357
+ "BS_viewdata",
358
+ "INIS",
359
+ "INIS-8",
360
+ "INIS-cyrillic",
361
+ "ISO_5427:1981",
362
+ "ISO_5428:1980",
363
+ "GB_1988-80",
364
+ "GB_2312-80",
365
+ "NS_4551-2",
366
+ "videotex-suppl",
367
+ "PT2",
368
+ "ES2",
369
+ "MSZ_7795.3",
370
+ "JIS_C6226-1983",
371
+ "greek7",
372
+ "ASMO_449",
373
+ "iso-ir-90",
374
+ "JIS_C6229-1984-a",
375
+ "JIS_C6229-1984-b",
376
+ "JIS_C6229-1984-b-add",
377
+ "JIS_C6229-1984-hand",
378
+ "JIS_C6229-1984-hand-add",
379
+ "JIS_C6229-1984-kana",
380
+ "ISO_2033-1983",
381
+ "ANSI_X3.110-1983",
382
+ "T.61-7bit",
383
+ "T.61-8bit",
384
+ "ECMA-cyrillic",
385
+ "CSA_Z243.4-1985-1",
386
+ "CSA_Z243.4-1985-2",
387
+ "CSA_Z243.4-1985-gr",
388
+ "\rISO-8859-6-EISO_8859-6-E",
389
+ "\rISO-8859-6-IISO_8859-6-I",
390
+ "T.101-G2",
391
+ "\rISO-8859-8-EISO_8859-8-E",
392
+ "\rISO-8859-8-IISO_8859-8-I",
393
+ "CSN_369103",
394
+ "JUS_I.B1.002",
395
+ "IEC_P27-1",
396
+ "JUS_I.B1.003-serb",
397
+ "JUS_I.B1.003-mac",
398
+ "greek-ccitt",
399
+ "NC_NC00-10:81",
400
+ "ISO_6937-2-25",
401
+ "GOST_19768-74",
402
+ "ISO_8859-supp",
403
+ "ISO_10367-box",
404
+ "latin-lap",
405
+ "JIS_X0212-1990",
406
+ "DS_2089",
407
+ "us-dk",
408
+ "dk-us",
409
+ "KSC5636",
410
+ "UNICODE-1-1-UTF-7",
411
+ "ISO-2022-CN",
412
+ "ISO-2022-CN-EXT",
413
+ "UTF-8",
414
+ "ISO-8859-13",
415
+ "ISO-8859-14",
416
+ "ISO-8859-15",
417
+ "ISO-8859-16",
418
+ "GBK",
419
+ "GB18030",
420
+ "OSD_EBCDIC_DF04_15",
421
+ "OSD_EBCDIC_DF03_IRV",
422
+ "OSD_EBCDIC_DF04_1",
423
+ "ISO-11548-1",
424
+ "KZ-1048",
425
+ "ISO-10646-UCS-2",
426
+ "ISO-10646-UCS-4",
427
+ "ISO-10646-UCS-Basic",
428
+ "ISO-10646-Unicode-Latin1",
429
+ "ISO-10646-J-1",
430
+ "ISO-Unicode-IBM-1261",
431
+ "ISO-Unicode-IBM-1268",
432
+ "ISO-Unicode-IBM-1276",
433
+ "ISO-Unicode-IBM-1264",
434
+ "ISO-Unicode-IBM-1265",
435
+ "UNICODE-1-1",
436
+ "SCSU",
437
+ "UTF-7",
438
+ "UTF-16BE",
439
+ "UTF-16LE",
440
+ "UTF-16",
441
+ "CESU-8",
442
+ "UTF-32",
443
+ "UTF-32BE",
444
+ "UTF-32LE",
445
+ "BOCU-1",
446
+ "ISO-8859-1-Windows-3.0-Latin-1",
447
+ "ISO-8859-1-Windows-3.1-Latin-1",
448
+ "ISO-8859-2-Windows-Latin-2",
449
+ "ISO-8859-9-Windows-Latin-5",
450
+ "hp-roman8",
451
+ "Adobe-Standard-Encoding",
452
+ "Ventura-US",
453
+ "Ventura-International",
454
+ "DEC-MCS",
455
+ "IBM850",
456
+ "IBM852",
457
+ "IBM437",
458
+ "PC8-Danish-Norwegian",
459
+ "IBM862",
460
+ "PC8-Turkish",
461
+ "IBM-Symbols",
462
+ "IBM-Thai",
463
+ "HP-Legal",
464
+ "HP-Pi-font",
465
+ "HP-Math8",
466
+ "Adobe-Symbol-Encoding",
467
+ "HP-DeskTop",
468
+ "Ventura-Math",
469
+ "Microsoft-Publishing",
470
+ "Windows-31J",
471
+ "GB2312",
472
+ "Big5",
473
+ "macintosh",
474
+ "IBM037",
475
+ "IBM038",
476
+ "IBM273",
477
+ "IBM274",
478
+ "IBM275",
479
+ "IBM277",
480
+ "IBM278",
481
+ "IBM280",
482
+ "IBM281",
483
+ "IBM284",
484
+ "IBM285",
485
+ "IBM290",
486
+ "IBM297",
487
+ "IBM420",
488
+ "IBM423",
489
+ "IBM424",
490
+ "IBM500",
491
+ "IBM851",
492
+ "IBM855",
493
+ "IBM857",
494
+ "IBM860",
495
+ "IBM861",
496
+ "IBM863",
497
+ "IBM864",
498
+ "IBM865",
499
+ "IBM868",
500
+ "IBM869",
501
+ "IBM870",
502
+ "IBM871",
503
+ "IBM880",
504
+ "IBM891",
505
+ "IBM903",
506
+ "IBM904",
507
+ "IBM905",
508
+ "IBM918",
509
+ "IBM1026",
510
+ "EBCDIC-AT-DE",
511
+ "EBCDIC-AT-DE-A",
512
+ "EBCDIC-CA-FR",
513
+ "EBCDIC-DK-NO",
514
+ "EBCDIC-DK-NO-A",
515
+ "EBCDIC-FI-SE",
516
+ "EBCDIC-FI-SE-A",
517
+ "EBCDIC-FR",
518
+ "EBCDIC-IT",
519
+ "EBCDIC-PT",
520
+ "EBCDIC-ES",
521
+ "EBCDIC-ES-A",
522
+ "EBCDIC-ES-S",
523
+ "EBCDIC-UK",
524
+ "EBCDIC-US",
525
+ "UNKNOWN-8BIT",
526
+ "MNEMONIC",
527
+ "MNEM",
528
+ "VISCII",
529
+ "VIQR",
530
+ "KOI8-R",
531
+ "HZ-GB-2312",
532
+ "IBM866",
533
+ "IBM775",
534
+ "KOI8-U",
535
+ "IBM00858",
536
+ "IBM00924",
537
+ "IBM01140",
538
+ "IBM01141",
539
+ "IBM01142",
540
+ "IBM01143",
541
+ "IBM01144",
542
+ "IBM01145",
543
+ "IBM01146",
544
+ "IBM01147",
545
+ "IBM01148",
546
+ "IBM01149",
547
+ "Big5-HKSCS",
548
+ "IBM1047",
549
+ "PTCP154",
550
+ "Amiga-1251",
551
+ "KOI7-switched",
552
+ "BRF",
553
+ "TSCII",
554
+ "CP51932",
555
+ "windows-874",
556
+ "windows-1250",
557
+ "windows-1251",
558
+ "windows-1252",
559
+ "windows-1253",
560
+ "windows-1254",
561
+ "windows-1255",
562
+ "windows-1256",
563
+ "windows-1257",
564
+ "windows-1258",
565
+ "TIS-620",
566
+ "CP50220",
567
+ } // Size: 7088 bytes
568
+
569
+ var mibNames = []string{ // 257 elements
570
+ "ASCII",
571
+ "ISOLatin1",
572
+ "ISOLatin2",
573
+ "ISOLatin3",
574
+ "ISOLatin4",
575
+ "ISOLatinCyrillic",
576
+ "ISOLatinArabic",
577
+ "ISOLatinGreek",
578
+ "ISOLatinHebrew",
579
+ "ISOLatin5",
580
+ "ISOLatin6",
581
+ "ISOTextComm",
582
+ "HalfWidthKatakana",
583
+ "JISEncoding",
584
+ "ShiftJIS",
585
+ "EUCPkdFmtJapanese",
586
+ "EUCFixWidJapanese",
587
+ "ISO4UnitedKingdom",
588
+ "ISO11SwedishForNames",
589
+ "ISO15Italian",
590
+ "ISO17Spanish",
591
+ "ISO21German",
592
+ "ISO60Norwegian1",
593
+ "ISO69French",
594
+ "ISO10646UTF1",
595
+ "ISO646basic1983",
596
+ "INVARIANT",
597
+ "ISO2IntlRefVersion",
598
+ "NATSSEFI",
599
+ "NATSSEFIADD",
600
+ "NATSDANO",
601
+ "NATSDANOADD",
602
+ "ISO10Swedish",
603
+ "KSC56011987",
604
+ "ISO2022KR",
605
+ "EUCKR",
606
+ "ISO2022JP",
607
+ "ISO2022JP2",
608
+ "ISO13JISC6220jp",
609
+ "ISO14JISC6220ro",
610
+ "ISO16Portuguese",
611
+ "ISO18Greek7Old",
612
+ "ISO19LatinGreek",
613
+ "ISO25French",
614
+ "ISO27LatinGreek1",
615
+ "ISO5427Cyrillic",
616
+ "ISO42JISC62261978",
617
+ "ISO47BSViewdata",
618
+ "ISO49INIS",
619
+ "ISO50INIS8",
620
+ "ISO51INISCyrillic",
621
+ "ISO54271981",
622
+ "ISO5428Greek",
623
+ "ISO57GB1988",
624
+ "ISO58GB231280",
625
+ "ISO61Norwegian2",
626
+ "ISO70VideotexSupp1",
627
+ "ISO84Portuguese2",
628
+ "ISO85Spanish2",
629
+ "ISO86Hungarian",
630
+ "ISO87JISX0208",
631
+ "ISO88Greek7",
632
+ "ISO89ASMO449",
633
+ "ISO90",
634
+ "ISO91JISC62291984a",
635
+ "ISO92JISC62991984b",
636
+ "ISO93JIS62291984badd",
637
+ "ISO94JIS62291984hand",
638
+ "ISO95JIS62291984handadd",
639
+ "ISO96JISC62291984kana",
640
+ "ISO2033",
641
+ "ISO99NAPLPS",
642
+ "ISO102T617bit",
643
+ "ISO103T618bit",
644
+ "ISO111ECMACyrillic",
645
+ "ISO121Canadian1",
646
+ "ISO122Canadian2",
647
+ "ISO123CSAZ24341985gr",
648
+ "ISO88596E",
649
+ "ISO88596I",
650
+ "ISO128T101G2",
651
+ "ISO88598E",
652
+ "ISO88598I",
653
+ "ISO139CSN369103",
654
+ "ISO141JUSIB1002",
655
+ "ISO143IECP271",
656
+ "ISO146Serbian",
657
+ "ISO147Macedonian",
658
+ "ISO150GreekCCITT",
659
+ "ISO151Cuba",
660
+ "ISO6937Add",
661
+ "ISO153GOST1976874",
662
+ "ISO8859Supp",
663
+ "ISO10367Box",
664
+ "ISO158Lap",
665
+ "ISO159JISX02121990",
666
+ "ISO646Danish",
667
+ "USDK",
668
+ "DKUS",
669
+ "KSC5636",
670
+ "Unicode11UTF7",
671
+ "ISO2022CN",
672
+ "ISO2022CNEXT",
673
+ "UTF8",
674
+ "ISO885913",
675
+ "ISO885914",
676
+ "ISO885915",
677
+ "ISO885916",
678
+ "GBK",
679
+ "GB18030",
680
+ "OSDEBCDICDF0415",
681
+ "OSDEBCDICDF03IRV",
682
+ "OSDEBCDICDF041",
683
+ "ISO115481",
684
+ "KZ1048",
685
+ "Unicode",
686
+ "UCS4",
687
+ "UnicodeASCII",
688
+ "UnicodeLatin1",
689
+ "UnicodeJapanese",
690
+ "UnicodeIBM1261",
691
+ "UnicodeIBM1268",
692
+ "UnicodeIBM1276",
693
+ "UnicodeIBM1264",
694
+ "UnicodeIBM1265",
695
+ "Unicode11",
696
+ "SCSU",
697
+ "UTF7",
698
+ "UTF16BE",
699
+ "UTF16LE",
700
+ "UTF16",
701
+ "CESU-8",
702
+ "UTF32",
703
+ "UTF32BE",
704
+ "UTF32LE",
705
+ "BOCU-1",
706
+ "Windows30Latin1",
707
+ "Windows31Latin1",
708
+ "Windows31Latin2",
709
+ "Windows31Latin5",
710
+ "HPRoman8",
711
+ "AdobeStandardEncoding",
712
+ "VenturaUS",
713
+ "VenturaInternational",
714
+ "DECMCS",
715
+ "PC850Multilingual",
716
+ "PCp852",
717
+ "PC8CodePage437",
718
+ "PC8DanishNorwegian",
719
+ "PC862LatinHebrew",
720
+ "PC8Turkish",
721
+ "IBMSymbols",
722
+ "IBMThai",
723
+ "HPLegal",
724
+ "HPPiFont",
725
+ "HPMath8",
726
+ "HPPSMath",
727
+ "HPDesktop",
728
+ "VenturaMath",
729
+ "MicrosoftPublishing",
730
+ "Windows31J",
731
+ "GB2312",
732
+ "Big5",
733
+ "Macintosh",
734
+ "IBM037",
735
+ "IBM038",
736
+ "IBM273",
737
+ "IBM274",
738
+ "IBM275",
739
+ "IBM277",
740
+ "IBM278",
741
+ "IBM280",
742
+ "IBM281",
743
+ "IBM284",
744
+ "IBM285",
745
+ "IBM290",
746
+ "IBM297",
747
+ "IBM420",
748
+ "IBM423",
749
+ "IBM424",
750
+ "IBM500",
751
+ "IBM851",
752
+ "IBM855",
753
+ "IBM857",
754
+ "IBM860",
755
+ "IBM861",
756
+ "IBM863",
757
+ "IBM864",
758
+ "IBM865",
759
+ "IBM868",
760
+ "IBM869",
761
+ "IBM870",
762
+ "IBM871",
763
+ "IBM880",
764
+ "IBM891",
765
+ "IBM903",
766
+ "IBBM904",
767
+ "IBM905",
768
+ "IBM918",
769
+ "IBM1026",
770
+ "IBMEBCDICATDE",
771
+ "EBCDICATDEA",
772
+ "EBCDICCAFR",
773
+ "EBCDICDKNO",
774
+ "EBCDICDKNOA",
775
+ "EBCDICFISE",
776
+ "EBCDICFISEA",
777
+ "EBCDICFR",
778
+ "EBCDICIT",
779
+ "EBCDICPT",
780
+ "EBCDICES",
781
+ "EBCDICESA",
782
+ "EBCDICESS",
783
+ "EBCDICUK",
784
+ "EBCDICUS",
785
+ "Unknown8BiT",
786
+ "Mnemonic",
787
+ "Mnem",
788
+ "VISCII",
789
+ "VIQR",
790
+ "KOI8R",
791
+ "HZ-GB-2312",
792
+ "IBM866",
793
+ "PC775Baltic",
794
+ "KOI8U",
795
+ "IBM00858",
796
+ "IBM00924",
797
+ "IBM01140",
798
+ "IBM01141",
799
+ "IBM01142",
800
+ "IBM01143",
801
+ "IBM01144",
802
+ "IBM01145",
803
+ "IBM01146",
804
+ "IBM01147",
805
+ "IBM01148",
806
+ "IBM01149",
807
+ "Big5HKSCS",
808
+ "IBM1047",
809
+ "PTCP154",
810
+ "Amiga1251\n(Aliases",
811
+ "KOI7switched",
812
+ "BRF",
813
+ "TSCII",
814
+ "CP51932",
815
+ "windows874",
816
+ "windows1250",
817
+ "windows1251",
818
+ "windows1252",
819
+ "windows1253",
820
+ "windows1254",
821
+ "windows1255",
822
+ "windows1256",
823
+ "windows1257",
824
+ "windows1258",
825
+ "TIS620",
826
+ "CP50220",
827
+ } // Size: 6776 bytes
828
+
829
+ // TODO: Instead of using a map, we could use binary search strings doing
830
+ // on-the fly lower-casing per character. This allows to always avoid
831
+ // allocation and will be considerably more compact.
832
+ var ianaAliases = map[string]int{
833
+ "US-ASCII": enc3,
834
+ "us-ascii": enc3,
835
+ "iso-ir-6": enc3,
836
+ "ANSI_X3.4-1968": enc3,
837
+ "ansi_x3.4-1968": enc3,
838
+ "ANSI_X3.4-1986": enc3,
839
+ "ansi_x3.4-1986": enc3,
840
+ "ISO_646.irv:1991": enc3,
841
+ "iso_646.irv:1991": enc3,
842
+ "ISO646-US": enc3,
843
+ "iso646-us": enc3,
844
+ "us": enc3,
845
+ "IBM367": enc3,
846
+ "ibm367": enc3,
847
+ "cp367": enc3,
848
+ "csASCII": enc3,
849
+ "csascii": enc3,
850
+ "ISO_8859-1:1987": enc4,
851
+ "iso_8859-1:1987": enc4,
852
+ "iso-ir-100": enc4,
853
+ "ISO_8859-1": enc4,
854
+ "iso_8859-1": enc4,
855
+ "ISO-8859-1": enc4,
856
+ "iso-8859-1": enc4,
857
+ "latin1": enc4,
858
+ "l1": enc4,
859
+ "IBM819": enc4,
860
+ "ibm819": enc4,
861
+ "CP819": enc4,
862
+ "cp819": enc4,
863
+ "csISOLatin1": enc4,
864
+ "csisolatin1": enc4,
865
+ "ISO_8859-2:1987": enc5,
866
+ "iso_8859-2:1987": enc5,
867
+ "iso-ir-101": enc5,
868
+ "ISO_8859-2": enc5,
869
+ "iso_8859-2": enc5,
870
+ "ISO-8859-2": enc5,
871
+ "iso-8859-2": enc5,
872
+ "latin2": enc5,
873
+ "l2": enc5,
874
+ "csISOLatin2": enc5,
875
+ "csisolatin2": enc5,
876
+ "ISO_8859-3:1988": enc6,
877
+ "iso_8859-3:1988": enc6,
878
+ "iso-ir-109": enc6,
879
+ "ISO_8859-3": enc6,
880
+ "iso_8859-3": enc6,
881
+ "ISO-8859-3": enc6,
882
+ "iso-8859-3": enc6,
883
+ "latin3": enc6,
884
+ "l3": enc6,
885
+ "csISOLatin3": enc6,
886
+ "csisolatin3": enc6,
887
+ "ISO_8859-4:1988": enc7,
888
+ "iso_8859-4:1988": enc7,
889
+ "iso-ir-110": enc7,
890
+ "ISO_8859-4": enc7,
891
+ "iso_8859-4": enc7,
892
+ "ISO-8859-4": enc7,
893
+ "iso-8859-4": enc7,
894
+ "latin4": enc7,
895
+ "l4": enc7,
896
+ "csISOLatin4": enc7,
897
+ "csisolatin4": enc7,
898
+ "ISO_8859-5:1988": enc8,
899
+ "iso_8859-5:1988": enc8,
900
+ "iso-ir-144": enc8,
901
+ "ISO_8859-5": enc8,
902
+ "iso_8859-5": enc8,
903
+ "ISO-8859-5": enc8,
904
+ "iso-8859-5": enc8,
905
+ "cyrillic": enc8,
906
+ "csISOLatinCyrillic": enc8,
907
+ "csisolatincyrillic": enc8,
908
+ "ISO_8859-6:1987": enc9,
909
+ "iso_8859-6:1987": enc9,
910
+ "iso-ir-127": enc9,
911
+ "ISO_8859-6": enc9,
912
+ "iso_8859-6": enc9,
913
+ "ISO-8859-6": enc9,
914
+ "iso-8859-6": enc9,
915
+ "ECMA-114": enc9,
916
+ "ecma-114": enc9,
917
+ "ASMO-708": enc9,
918
+ "asmo-708": enc9,
919
+ "arabic": enc9,
920
+ "csISOLatinArabic": enc9,
921
+ "csisolatinarabic": enc9,
922
+ "ISO_8859-7:1987": enc10,
923
+ "iso_8859-7:1987": enc10,
924
+ "iso-ir-126": enc10,
925
+ "ISO_8859-7": enc10,
926
+ "iso_8859-7": enc10,
927
+ "ISO-8859-7": enc10,
928
+ "iso-8859-7": enc10,
929
+ "ELOT_928": enc10,
930
+ "elot_928": enc10,
931
+ "ECMA-118": enc10,
932
+ "ecma-118": enc10,
933
+ "greek": enc10,
934
+ "greek8": enc10,
935
+ "csISOLatinGreek": enc10,
936
+ "csisolatingreek": enc10,
937
+ "ISO_8859-8:1988": enc11,
938
+ "iso_8859-8:1988": enc11,
939
+ "iso-ir-138": enc11,
940
+ "ISO_8859-8": enc11,
941
+ "iso_8859-8": enc11,
942
+ "ISO-8859-8": enc11,
943
+ "iso-8859-8": enc11,
944
+ "hebrew": enc11,
945
+ "csISOLatinHebrew": enc11,
946
+ "csisolatinhebrew": enc11,
947
+ "ISO_8859-9:1989": enc12,
948
+ "iso_8859-9:1989": enc12,
949
+ "iso-ir-148": enc12,
950
+ "ISO_8859-9": enc12,
951
+ "iso_8859-9": enc12,
952
+ "ISO-8859-9": enc12,
953
+ "iso-8859-9": enc12,
954
+ "latin5": enc12,
955
+ "l5": enc12,
956
+ "csISOLatin5": enc12,
957
+ "csisolatin5": enc12,
958
+ "ISO-8859-10": enc13,
959
+ "iso-8859-10": enc13,
960
+ "iso-ir-157": enc13,
961
+ "l6": enc13,
962
+ "ISO_8859-10:1992": enc13,
963
+ "iso_8859-10:1992": enc13,
964
+ "csISOLatin6": enc13,
965
+ "csisolatin6": enc13,
966
+ "latin6": enc13,
967
+ "ISO_6937-2-add": enc14,
968
+ "iso_6937-2-add": enc14,
969
+ "iso-ir-142": enc14,
970
+ "csISOTextComm": enc14,
971
+ "csisotextcomm": enc14,
972
+ "JIS_X0201": enc15,
973
+ "jis_x0201": enc15,
974
+ "X0201": enc15,
975
+ "x0201": enc15,
976
+ "csHalfWidthKatakana": enc15,
977
+ "cshalfwidthkatakana": enc15,
978
+ "JIS_Encoding": enc16,
979
+ "jis_encoding": enc16,
980
+ "csJISEncoding": enc16,
981
+ "csjisencoding": enc16,
982
+ "Shift_JIS": enc17,
983
+ "shift_jis": enc17,
984
+ "MS_Kanji": enc17,
985
+ "ms_kanji": enc17,
986
+ "csShiftJIS": enc17,
987
+ "csshiftjis": enc17,
988
+ "Extended_UNIX_Code_Packed_Format_for_Japanese": enc18,
989
+ "extended_unix_code_packed_format_for_japanese": enc18,
990
+ "csEUCPkdFmtJapanese": enc18,
991
+ "cseucpkdfmtjapanese": enc18,
992
+ "EUC-JP": enc18,
993
+ "euc-jp": enc18,
994
+ "Extended_UNIX_Code_Fixed_Width_for_Japanese": enc19,
995
+ "extended_unix_code_fixed_width_for_japanese": enc19,
996
+ "csEUCFixWidJapanese": enc19,
997
+ "cseucfixwidjapanese": enc19,
998
+ "BS_4730": enc20,
999
+ "bs_4730": enc20,
1000
+ "iso-ir-4": enc20,
1001
+ "ISO646-GB": enc20,
1002
+ "iso646-gb": enc20,
1003
+ "gb": enc20,
1004
+ "uk": enc20,
1005
+ "csISO4UnitedKingdom": enc20,
1006
+ "csiso4unitedkingdom": enc20,
1007
+ "SEN_850200_C": enc21,
1008
+ "sen_850200_c": enc21,
1009
+ "iso-ir-11": enc21,
1010
+ "ISO646-SE2": enc21,
1011
+ "iso646-se2": enc21,
1012
+ "se2": enc21,
1013
+ "csISO11SwedishForNames": enc21,
1014
+ "csiso11swedishfornames": enc21,
1015
+ "IT": enc22,
1016
+ "it": enc22,
1017
+ "iso-ir-15": enc22,
1018
+ "ISO646-IT": enc22,
1019
+ "iso646-it": enc22,
1020
+ "csISO15Italian": enc22,
1021
+ "csiso15italian": enc22,
1022
+ "ES": enc23,
1023
+ "es": enc23,
1024
+ "iso-ir-17": enc23,
1025
+ "ISO646-ES": enc23,
1026
+ "iso646-es": enc23,
1027
+ "csISO17Spanish": enc23,
1028
+ "csiso17spanish": enc23,
1029
+ "DIN_66003": enc24,
1030
+ "din_66003": enc24,
1031
+ "iso-ir-21": enc24,
1032
+ "de": enc24,
1033
+ "ISO646-DE": enc24,
1034
+ "iso646-de": enc24,
1035
+ "csISO21German": enc24,
1036
+ "csiso21german": enc24,
1037
+ "NS_4551-1": enc25,
1038
+ "ns_4551-1": enc25,
1039
+ "iso-ir-60": enc25,
1040
+ "ISO646-NO": enc25,
1041
+ "iso646-no": enc25,
1042
+ "no": enc25,
1043
+ "csISO60DanishNorwegian": enc25,
1044
+ "csiso60danishnorwegian": enc25,
1045
+ "csISO60Norwegian1": enc25,
1046
+ "csiso60norwegian1": enc25,
1047
+ "NF_Z_62-010": enc26,
1048
+ "nf_z_62-010": enc26,
1049
+ "iso-ir-69": enc26,
1050
+ "ISO646-FR": enc26,
1051
+ "iso646-fr": enc26,
1052
+ "fr": enc26,
1053
+ "csISO69French": enc26,
1054
+ "csiso69french": enc26,
1055
+ "ISO-10646-UTF-1": enc27,
1056
+ "iso-10646-utf-1": enc27,
1057
+ "csISO10646UTF1": enc27,
1058
+ "csiso10646utf1": enc27,
1059
+ "ISO_646.basic:1983": enc28,
1060
+ "iso_646.basic:1983": enc28,
1061
+ "ref": enc28,
1062
+ "csISO646basic1983": enc28,
1063
+ "csiso646basic1983": enc28,
1064
+ "INVARIANT": enc29,
1065
+ "invariant": enc29,
1066
+ "csINVARIANT": enc29,
1067
+ "csinvariant": enc29,
1068
+ "ISO_646.irv:1983": enc30,
1069
+ "iso_646.irv:1983": enc30,
1070
+ "iso-ir-2": enc30,
1071
+ "irv": enc30,
1072
+ "csISO2IntlRefVersion": enc30,
1073
+ "csiso2intlrefversion": enc30,
1074
+ "NATS-SEFI": enc31,
1075
+ "nats-sefi": enc31,
1076
+ "iso-ir-8-1": enc31,
1077
+ "csNATSSEFI": enc31,
1078
+ "csnatssefi": enc31,
1079
+ "NATS-SEFI-ADD": enc32,
1080
+ "nats-sefi-add": enc32,
1081
+ "iso-ir-8-2": enc32,
1082
+ "csNATSSEFIADD": enc32,
1083
+ "csnatssefiadd": enc32,
1084
+ "NATS-DANO": enc33,
1085
+ "nats-dano": enc33,
1086
+ "iso-ir-9-1": enc33,
1087
+ "csNATSDANO": enc33,
1088
+ "csnatsdano": enc33,
1089
+ "NATS-DANO-ADD": enc34,
1090
+ "nats-dano-add": enc34,
1091
+ "iso-ir-9-2": enc34,
1092
+ "csNATSDANOADD": enc34,
1093
+ "csnatsdanoadd": enc34,
1094
+ "SEN_850200_B": enc35,
1095
+ "sen_850200_b": enc35,
1096
+ "iso-ir-10": enc35,
1097
+ "FI": enc35,
1098
+ "fi": enc35,
1099
+ "ISO646-FI": enc35,
1100
+ "iso646-fi": enc35,
1101
+ "ISO646-SE": enc35,
1102
+ "iso646-se": enc35,
1103
+ "se": enc35,
1104
+ "csISO10Swedish": enc35,
1105
+ "csiso10swedish": enc35,
1106
+ "KS_C_5601-1987": enc36,
1107
+ "ks_c_5601-1987": enc36,
1108
+ "iso-ir-149": enc36,
1109
+ "KS_C_5601-1989": enc36,
1110
+ "ks_c_5601-1989": enc36,
1111
+ "KSC_5601": enc36,
1112
+ "ksc_5601": enc36,
1113
+ "korean": enc36,
1114
+ "csKSC56011987": enc36,
1115
+ "csksc56011987": enc36,
1116
+ "ISO-2022-KR": enc37,
1117
+ "iso-2022-kr": enc37,
1118
+ "csISO2022KR": enc37,
1119
+ "csiso2022kr": enc37,
1120
+ "EUC-KR": enc38,
1121
+ "euc-kr": enc38,
1122
+ "csEUCKR": enc38,
1123
+ "cseuckr": enc38,
1124
+ "ISO-2022-JP": enc39,
1125
+ "iso-2022-jp": enc39,
1126
+ "csISO2022JP": enc39,
1127
+ "csiso2022jp": enc39,
1128
+ "ISO-2022-JP-2": enc40,
1129
+ "iso-2022-jp-2": enc40,
1130
+ "csISO2022JP2": enc40,
1131
+ "csiso2022jp2": enc40,
1132
+ "JIS_C6220-1969-jp": enc41,
1133
+ "jis_c6220-1969-jp": enc41,
1134
+ "JIS_C6220-1969": enc41,
1135
+ "jis_c6220-1969": enc41,
1136
+ "iso-ir-13": enc41,
1137
+ "katakana": enc41,
1138
+ "x0201-7": enc41,
1139
+ "csISO13JISC6220jp": enc41,
1140
+ "csiso13jisc6220jp": enc41,
1141
+ "JIS_C6220-1969-ro": enc42,
1142
+ "jis_c6220-1969-ro": enc42,
1143
+ "iso-ir-14": enc42,
1144
+ "jp": enc42,
1145
+ "ISO646-JP": enc42,
1146
+ "iso646-jp": enc42,
1147
+ "csISO14JISC6220ro": enc42,
1148
+ "csiso14jisc6220ro": enc42,
1149
+ "PT": enc43,
1150
+ "pt": enc43,
1151
+ "iso-ir-16": enc43,
1152
+ "ISO646-PT": enc43,
1153
+ "iso646-pt": enc43,
1154
+ "csISO16Portuguese": enc43,
1155
+ "csiso16portuguese": enc43,
1156
+ "greek7-old": enc44,
1157
+ "iso-ir-18": enc44,
1158
+ "csISO18Greek7Old": enc44,
1159
+ "csiso18greek7old": enc44,
1160
+ "latin-greek": enc45,
1161
+ "iso-ir-19": enc45,
1162
+ "csISO19LatinGreek": enc45,
1163
+ "csiso19latingreek": enc45,
1164
+ "NF_Z_62-010_(1973)": enc46,
1165
+ "nf_z_62-010_(1973)": enc46,
1166
+ "iso-ir-25": enc46,
1167
+ "ISO646-FR1": enc46,
1168
+ "iso646-fr1": enc46,
1169
+ "csISO25French": enc46,
1170
+ "csiso25french": enc46,
1171
+ "Latin-greek-1": enc47,
1172
+ "latin-greek-1": enc47,
1173
+ "iso-ir-27": enc47,
1174
+ "csISO27LatinGreek1": enc47,
1175
+ "csiso27latingreek1": enc47,
1176
+ "ISO_5427": enc48,
1177
+ "iso_5427": enc48,
1178
+ "iso-ir-37": enc48,
1179
+ "csISO5427Cyrillic": enc48,
1180
+ "csiso5427cyrillic": enc48,
1181
+ "JIS_C6226-1978": enc49,
1182
+ "jis_c6226-1978": enc49,
1183
+ "iso-ir-42": enc49,
1184
+ "csISO42JISC62261978": enc49,
1185
+ "csiso42jisc62261978": enc49,
1186
+ "BS_viewdata": enc50,
1187
+ "bs_viewdata": enc50,
1188
+ "iso-ir-47": enc50,
1189
+ "csISO47BSViewdata": enc50,
1190
+ "csiso47bsviewdata": enc50,
1191
+ "INIS": enc51,
1192
+ "inis": enc51,
1193
+ "iso-ir-49": enc51,
1194
+ "csISO49INIS": enc51,
1195
+ "csiso49inis": enc51,
1196
+ "INIS-8": enc52,
1197
+ "inis-8": enc52,
1198
+ "iso-ir-50": enc52,
1199
+ "csISO50INIS8": enc52,
1200
+ "csiso50inis8": enc52,
1201
+ "INIS-cyrillic": enc53,
1202
+ "inis-cyrillic": enc53,
1203
+ "iso-ir-51": enc53,
1204
+ "csISO51INISCyrillic": enc53,
1205
+ "csiso51iniscyrillic": enc53,
1206
+ "ISO_5427:1981": enc54,
1207
+ "iso_5427:1981": enc54,
1208
+ "iso-ir-54": enc54,
1209
+ "ISO5427Cyrillic1981": enc54,
1210
+ "iso5427cyrillic1981": enc54,
1211
+ "csISO54271981": enc54,
1212
+ "csiso54271981": enc54,
1213
+ "ISO_5428:1980": enc55,
1214
+ "iso_5428:1980": enc55,
1215
+ "iso-ir-55": enc55,
1216
+ "csISO5428Greek": enc55,
1217
+ "csiso5428greek": enc55,
1218
+ "GB_1988-80": enc56,
1219
+ "gb_1988-80": enc56,
1220
+ "iso-ir-57": enc56,
1221
+ "cn": enc56,
1222
+ "ISO646-CN": enc56,
1223
+ "iso646-cn": enc56,
1224
+ "csISO57GB1988": enc56,
1225
+ "csiso57gb1988": enc56,
1226
+ "GB_2312-80": enc57,
1227
+ "gb_2312-80": enc57,
1228
+ "iso-ir-58": enc57,
1229
+ "chinese": enc57,
1230
+ "csISO58GB231280": enc57,
1231
+ "csiso58gb231280": enc57,
1232
+ "NS_4551-2": enc58,
1233
+ "ns_4551-2": enc58,
1234
+ "ISO646-NO2": enc58,
1235
+ "iso646-no2": enc58,
1236
+ "iso-ir-61": enc58,
1237
+ "no2": enc58,
1238
+ "csISO61Norwegian2": enc58,
1239
+ "csiso61norwegian2": enc58,
1240
+ "videotex-suppl": enc59,
1241
+ "iso-ir-70": enc59,
1242
+ "csISO70VideotexSupp1": enc59,
1243
+ "csiso70videotexsupp1": enc59,
1244
+ "PT2": enc60,
1245
+ "pt2": enc60,
1246
+ "iso-ir-84": enc60,
1247
+ "ISO646-PT2": enc60,
1248
+ "iso646-pt2": enc60,
1249
+ "csISO84Portuguese2": enc60,
1250
+ "csiso84portuguese2": enc60,
1251
+ "ES2": enc61,
1252
+ "es2": enc61,
1253
+ "iso-ir-85": enc61,
1254
+ "ISO646-ES2": enc61,
1255
+ "iso646-es2": enc61,
1256
+ "csISO85Spanish2": enc61,
1257
+ "csiso85spanish2": enc61,
1258
+ "MSZ_7795.3": enc62,
1259
+ "msz_7795.3": enc62,
1260
+ "iso-ir-86": enc62,
1261
+ "ISO646-HU": enc62,
1262
+ "iso646-hu": enc62,
1263
+ "hu": enc62,
1264
+ "csISO86Hungarian": enc62,
1265
+ "csiso86hungarian": enc62,
1266
+ "JIS_C6226-1983": enc63,
1267
+ "jis_c6226-1983": enc63,
1268
+ "iso-ir-87": enc63,
1269
+ "x0208": enc63,
1270
+ "JIS_X0208-1983": enc63,
1271
+ "jis_x0208-1983": enc63,
1272
+ "csISO87JISX0208": enc63,
1273
+ "csiso87jisx0208": enc63,
1274
+ "greek7": enc64,
1275
+ "iso-ir-88": enc64,
1276
+ "csISO88Greek7": enc64,
1277
+ "csiso88greek7": enc64,
1278
+ "ASMO_449": enc65,
1279
+ "asmo_449": enc65,
1280
+ "ISO_9036": enc65,
1281
+ "iso_9036": enc65,
1282
+ "arabic7": enc65,
1283
+ "iso-ir-89": enc65,
1284
+ "csISO89ASMO449": enc65,
1285
+ "csiso89asmo449": enc65,
1286
+ "iso-ir-90": enc66,
1287
+ "csISO90": enc66,
1288
+ "csiso90": enc66,
1289
+ "JIS_C6229-1984-a": enc67,
1290
+ "jis_c6229-1984-a": enc67,
1291
+ "iso-ir-91": enc67,
1292
+ "jp-ocr-a": enc67,
1293
+ "csISO91JISC62291984a": enc67,
1294
+ "csiso91jisc62291984a": enc67,
1295
+ "JIS_C6229-1984-b": enc68,
1296
+ "jis_c6229-1984-b": enc68,
1297
+ "iso-ir-92": enc68,
1298
+ "ISO646-JP-OCR-B": enc68,
1299
+ "iso646-jp-ocr-b": enc68,
1300
+ "jp-ocr-b": enc68,
1301
+ "csISO92JISC62991984b": enc68,
1302
+ "csiso92jisc62991984b": enc68,
1303
+ "JIS_C6229-1984-b-add": enc69,
1304
+ "jis_c6229-1984-b-add": enc69,
1305
+ "iso-ir-93": enc69,
1306
+ "jp-ocr-b-add": enc69,
1307
+ "csISO93JIS62291984badd": enc69,
1308
+ "csiso93jis62291984badd": enc69,
1309
+ "JIS_C6229-1984-hand": enc70,
1310
+ "jis_c6229-1984-hand": enc70,
1311
+ "iso-ir-94": enc70,
1312
+ "jp-ocr-hand": enc70,
1313
+ "csISO94JIS62291984hand": enc70,
1314
+ "csiso94jis62291984hand": enc70,
1315
+ "JIS_C6229-1984-hand-add": enc71,
1316
+ "jis_c6229-1984-hand-add": enc71,
1317
+ "iso-ir-95": enc71,
1318
+ "jp-ocr-hand-add": enc71,
1319
+ "csISO95JIS62291984handadd": enc71,
1320
+ "csiso95jis62291984handadd": enc71,
1321
+ "JIS_C6229-1984-kana": enc72,
1322
+ "jis_c6229-1984-kana": enc72,
1323
+ "iso-ir-96": enc72,
1324
+ "csISO96JISC62291984kana": enc72,
1325
+ "csiso96jisc62291984kana": enc72,
1326
+ "ISO_2033-1983": enc73,
1327
+ "iso_2033-1983": enc73,
1328
+ "iso-ir-98": enc73,
1329
+ "e13b": enc73,
1330
+ "csISO2033": enc73,
1331
+ "csiso2033": enc73,
1332
+ "ANSI_X3.110-1983": enc74,
1333
+ "ansi_x3.110-1983": enc74,
1334
+ "iso-ir-99": enc74,
1335
+ "CSA_T500-1983": enc74,
1336
+ "csa_t500-1983": enc74,
1337
+ "NAPLPS": enc74,
1338
+ "naplps": enc74,
1339
+ "csISO99NAPLPS": enc74,
1340
+ "csiso99naplps": enc74,
1341
+ "T.61-7bit": enc75,
1342
+ "t.61-7bit": enc75,
1343
+ "iso-ir-102": enc75,
1344
+ "csISO102T617bit": enc75,
1345
+ "csiso102t617bit": enc75,
1346
+ "T.61-8bit": enc76,
1347
+ "t.61-8bit": enc76,
1348
+ "T.61": enc76,
1349
+ "t.61": enc76,
1350
+ "iso-ir-103": enc76,
1351
+ "csISO103T618bit": enc76,
1352
+ "csiso103t618bit": enc76,
1353
+ "ECMA-cyrillic": enc77,
1354
+ "ecma-cyrillic": enc77,
1355
+ "iso-ir-111": enc77,
1356
+ "KOI8-E": enc77,
1357
+ "koi8-e": enc77,
1358
+ "csISO111ECMACyrillic": enc77,
1359
+ "csiso111ecmacyrillic": enc77,
1360
+ "CSA_Z243.4-1985-1": enc78,
1361
+ "csa_z243.4-1985-1": enc78,
1362
+ "iso-ir-121": enc78,
1363
+ "ISO646-CA": enc78,
1364
+ "iso646-ca": enc78,
1365
+ "csa7-1": enc78,
1366
+ "csa71": enc78,
1367
+ "ca": enc78,
1368
+ "csISO121Canadian1": enc78,
1369
+ "csiso121canadian1": enc78,
1370
+ "CSA_Z243.4-1985-2": enc79,
1371
+ "csa_z243.4-1985-2": enc79,
1372
+ "iso-ir-122": enc79,
1373
+ "ISO646-CA2": enc79,
1374
+ "iso646-ca2": enc79,
1375
+ "csa7-2": enc79,
1376
+ "csa72": enc79,
1377
+ "csISO122Canadian2": enc79,
1378
+ "csiso122canadian2": enc79,
1379
+ "CSA_Z243.4-1985-gr": enc80,
1380
+ "csa_z243.4-1985-gr": enc80,
1381
+ "iso-ir-123": enc80,
1382
+ "csISO123CSAZ24341985gr": enc80,
1383
+ "csiso123csaz24341985gr": enc80,
1384
+ "ISO_8859-6-E": enc81,
1385
+ "iso_8859-6-e": enc81,
1386
+ "csISO88596E": enc81,
1387
+ "csiso88596e": enc81,
1388
+ "ISO-8859-6-E": enc81,
1389
+ "iso-8859-6-e": enc81,
1390
+ "ISO_8859-6-I": enc82,
1391
+ "iso_8859-6-i": enc82,
1392
+ "csISO88596I": enc82,
1393
+ "csiso88596i": enc82,
1394
+ "ISO-8859-6-I": enc82,
1395
+ "iso-8859-6-i": enc82,
1396
+ "T.101-G2": enc83,
1397
+ "t.101-g2": enc83,
1398
+ "iso-ir-128": enc83,
1399
+ "csISO128T101G2": enc83,
1400
+ "csiso128t101g2": enc83,
1401
+ "ISO_8859-8-E": enc84,
1402
+ "iso_8859-8-e": enc84,
1403
+ "csISO88598E": enc84,
1404
+ "csiso88598e": enc84,
1405
+ "ISO-8859-8-E": enc84,
1406
+ "iso-8859-8-e": enc84,
1407
+ "ISO_8859-8-I": enc85,
1408
+ "iso_8859-8-i": enc85,
1409
+ "csISO88598I": enc85,
1410
+ "csiso88598i": enc85,
1411
+ "ISO-8859-8-I": enc85,
1412
+ "iso-8859-8-i": enc85,
1413
+ "CSN_369103": enc86,
1414
+ "csn_369103": enc86,
1415
+ "iso-ir-139": enc86,
1416
+ "csISO139CSN369103": enc86,
1417
+ "csiso139csn369103": enc86,
1418
+ "JUS_I.B1.002": enc87,
1419
+ "jus_i.b1.002": enc87,
1420
+ "iso-ir-141": enc87,
1421
+ "ISO646-YU": enc87,
1422
+ "iso646-yu": enc87,
1423
+ "js": enc87,
1424
+ "yu": enc87,
1425
+ "csISO141JUSIB1002": enc87,
1426
+ "csiso141jusib1002": enc87,
1427
+ "IEC_P27-1": enc88,
1428
+ "iec_p27-1": enc88,
1429
+ "iso-ir-143": enc88,
1430
+ "csISO143IECP271": enc88,
1431
+ "csiso143iecp271": enc88,
1432
+ "JUS_I.B1.003-serb": enc89,
1433
+ "jus_i.b1.003-serb": enc89,
1434
+ "iso-ir-146": enc89,
1435
+ "serbian": enc89,
1436
+ "csISO146Serbian": enc89,
1437
+ "csiso146serbian": enc89,
1438
+ "JUS_I.B1.003-mac": enc90,
1439
+ "jus_i.b1.003-mac": enc90,
1440
+ "macedonian": enc90,
1441
+ "iso-ir-147": enc90,
1442
+ "csISO147Macedonian": enc90,
1443
+ "csiso147macedonian": enc90,
1444
+ "greek-ccitt": enc91,
1445
+ "iso-ir-150": enc91,
1446
+ "csISO150": enc91,
1447
+ "csiso150": enc91,
1448
+ "csISO150GreekCCITT": enc91,
1449
+ "csiso150greekccitt": enc91,
1450
+ "NC_NC00-10:81": enc92,
1451
+ "nc_nc00-10:81": enc92,
1452
+ "cuba": enc92,
1453
+ "iso-ir-151": enc92,
1454
+ "ISO646-CU": enc92,
1455
+ "iso646-cu": enc92,
1456
+ "csISO151Cuba": enc92,
1457
+ "csiso151cuba": enc92,
1458
+ "ISO_6937-2-25": enc93,
1459
+ "iso_6937-2-25": enc93,
1460
+ "iso-ir-152": enc93,
1461
+ "csISO6937Add": enc93,
1462
+ "csiso6937add": enc93,
1463
+ "GOST_19768-74": enc94,
1464
+ "gost_19768-74": enc94,
1465
+ "ST_SEV_358-88": enc94,
1466
+ "st_sev_358-88": enc94,
1467
+ "iso-ir-153": enc94,
1468
+ "csISO153GOST1976874": enc94,
1469
+ "csiso153gost1976874": enc94,
1470
+ "ISO_8859-supp": enc95,
1471
+ "iso_8859-supp": enc95,
1472
+ "iso-ir-154": enc95,
1473
+ "latin1-2-5": enc95,
1474
+ "csISO8859Supp": enc95,
1475
+ "csiso8859supp": enc95,
1476
+ "ISO_10367-box": enc96,
1477
+ "iso_10367-box": enc96,
1478
+ "iso-ir-155": enc96,
1479
+ "csISO10367Box": enc96,
1480
+ "csiso10367box": enc96,
1481
+ "latin-lap": enc97,
1482
+ "lap": enc97,
1483
+ "iso-ir-158": enc97,
1484
+ "csISO158Lap": enc97,
1485
+ "csiso158lap": enc97,
1486
+ "JIS_X0212-1990": enc98,
1487
+ "jis_x0212-1990": enc98,
1488
+ "x0212": enc98,
1489
+ "iso-ir-159": enc98,
1490
+ "csISO159JISX02121990": enc98,
1491
+ "csiso159jisx02121990": enc98,
1492
+ "DS_2089": enc99,
1493
+ "ds_2089": enc99,
1494
+ "DS2089": enc99,
1495
+ "ds2089": enc99,
1496
+ "ISO646-DK": enc99,
1497
+ "iso646-dk": enc99,
1498
+ "dk": enc99,
1499
+ "csISO646Danish": enc99,
1500
+ "csiso646danish": enc99,
1501
+ "us-dk": enc100,
1502
+ "csUSDK": enc100,
1503
+ "csusdk": enc100,
1504
+ "dk-us": enc101,
1505
+ "csDKUS": enc101,
1506
+ "csdkus": enc101,
1507
+ "KSC5636": enc102,
1508
+ "ksc5636": enc102,
1509
+ "ISO646-KR": enc102,
1510
+ "iso646-kr": enc102,
1511
+ "csKSC5636": enc102,
1512
+ "csksc5636": enc102,
1513
+ "UNICODE-1-1-UTF-7": enc103,
1514
+ "unicode-1-1-utf-7": enc103,
1515
+ "csUnicode11UTF7": enc103,
1516
+ "csunicode11utf7": enc103,
1517
+ "ISO-2022-CN": enc104,
1518
+ "iso-2022-cn": enc104,
1519
+ "csISO2022CN": enc104,
1520
+ "csiso2022cn": enc104,
1521
+ "ISO-2022-CN-EXT": enc105,
1522
+ "iso-2022-cn-ext": enc105,
1523
+ "csISO2022CNEXT": enc105,
1524
+ "csiso2022cnext": enc105,
1525
+ "UTF-8": enc106,
1526
+ "utf-8": enc106,
1527
+ "csUTF8": enc106,
1528
+ "csutf8": enc106,
1529
+ "ISO-8859-13": enc109,
1530
+ "iso-8859-13": enc109,
1531
+ "csISO885913": enc109,
1532
+ "csiso885913": enc109,
1533
+ "ISO-8859-14": enc110,
1534
+ "iso-8859-14": enc110,
1535
+ "iso-ir-199": enc110,
1536
+ "ISO_8859-14:1998": enc110,
1537
+ "iso_8859-14:1998": enc110,
1538
+ "ISO_8859-14": enc110,
1539
+ "iso_8859-14": enc110,
1540
+ "latin8": enc110,
1541
+ "iso-celtic": enc110,
1542
+ "l8": enc110,
1543
+ "csISO885914": enc110,
1544
+ "csiso885914": enc110,
1545
+ "ISO-8859-15": enc111,
1546
+ "iso-8859-15": enc111,
1547
+ "ISO_8859-15": enc111,
1548
+ "iso_8859-15": enc111,
1549
+ "Latin-9": enc111,
1550
+ "latin-9": enc111,
1551
+ "csISO885915": enc111,
1552
+ "csiso885915": enc111,
1553
+ "ISO-8859-16": enc112,
1554
+ "iso-8859-16": enc112,
1555
+ "iso-ir-226": enc112,
1556
+ "ISO_8859-16:2001": enc112,
1557
+ "iso_8859-16:2001": enc112,
1558
+ "ISO_8859-16": enc112,
1559
+ "iso_8859-16": enc112,
1560
+ "latin10": enc112,
1561
+ "l10": enc112,
1562
+ "csISO885916": enc112,
1563
+ "csiso885916": enc112,
1564
+ "GBK": enc113,
1565
+ "gbk": enc113,
1566
+ "CP936": enc113,
1567
+ "cp936": enc113,
1568
+ "MS936": enc113,
1569
+ "ms936": enc113,
1570
+ "windows-936": enc113,
1571
+ "csGBK": enc113,
1572
+ "csgbk": enc113,
1573
+ "GB18030": enc114,
1574
+ "gb18030": enc114,
1575
+ "csGB18030": enc114,
1576
+ "csgb18030": enc114,
1577
+ "OSD_EBCDIC_DF04_15": enc115,
1578
+ "osd_ebcdic_df04_15": enc115,
1579
+ "csOSDEBCDICDF0415": enc115,
1580
+ "csosdebcdicdf0415": enc115,
1581
+ "OSD_EBCDIC_DF03_IRV": enc116,
1582
+ "osd_ebcdic_df03_irv": enc116,
1583
+ "csOSDEBCDICDF03IRV": enc116,
1584
+ "csosdebcdicdf03irv": enc116,
1585
+ "OSD_EBCDIC_DF04_1": enc117,
1586
+ "osd_ebcdic_df04_1": enc117,
1587
+ "csOSDEBCDICDF041": enc117,
1588
+ "csosdebcdicdf041": enc117,
1589
+ "ISO-11548-1": enc118,
1590
+ "iso-11548-1": enc118,
1591
+ "ISO_11548-1": enc118,
1592
+ "iso_11548-1": enc118,
1593
+ "ISO_TR_11548-1": enc118,
1594
+ "iso_tr_11548-1": enc118,
1595
+ "csISO115481": enc118,
1596
+ "csiso115481": enc118,
1597
+ "KZ-1048": enc119,
1598
+ "kz-1048": enc119,
1599
+ "STRK1048-2002": enc119,
1600
+ "strk1048-2002": enc119,
1601
+ "RK1048": enc119,
1602
+ "rk1048": enc119,
1603
+ "csKZ1048": enc119,
1604
+ "cskz1048": enc119,
1605
+ "ISO-10646-UCS-2": enc1000,
1606
+ "iso-10646-ucs-2": enc1000,
1607
+ "csUnicode": enc1000,
1608
+ "csunicode": enc1000,
1609
+ "ISO-10646-UCS-4": enc1001,
1610
+ "iso-10646-ucs-4": enc1001,
1611
+ "csUCS4": enc1001,
1612
+ "csucs4": enc1001,
1613
+ "ISO-10646-UCS-Basic": enc1002,
1614
+ "iso-10646-ucs-basic": enc1002,
1615
+ "csUnicodeASCII": enc1002,
1616
+ "csunicodeascii": enc1002,
1617
+ "ISO-10646-Unicode-Latin1": enc1003,
1618
+ "iso-10646-unicode-latin1": enc1003,
1619
+ "csUnicodeLatin1": enc1003,
1620
+ "csunicodelatin1": enc1003,
1621
+ "ISO-10646": enc1003,
1622
+ "iso-10646": enc1003,
1623
+ "ISO-10646-J-1": enc1004,
1624
+ "iso-10646-j-1": enc1004,
1625
+ "csUnicodeJapanese": enc1004,
1626
+ "csunicodejapanese": enc1004,
1627
+ "ISO-Unicode-IBM-1261": enc1005,
1628
+ "iso-unicode-ibm-1261": enc1005,
1629
+ "csUnicodeIBM1261": enc1005,
1630
+ "csunicodeibm1261": enc1005,
1631
+ "ISO-Unicode-IBM-1268": enc1006,
1632
+ "iso-unicode-ibm-1268": enc1006,
1633
+ "csUnicodeIBM1268": enc1006,
1634
+ "csunicodeibm1268": enc1006,
1635
+ "ISO-Unicode-IBM-1276": enc1007,
1636
+ "iso-unicode-ibm-1276": enc1007,
1637
+ "csUnicodeIBM1276": enc1007,
1638
+ "csunicodeibm1276": enc1007,
1639
+ "ISO-Unicode-IBM-1264": enc1008,
1640
+ "iso-unicode-ibm-1264": enc1008,
1641
+ "csUnicodeIBM1264": enc1008,
1642
+ "csunicodeibm1264": enc1008,
1643
+ "ISO-Unicode-IBM-1265": enc1009,
1644
+ "iso-unicode-ibm-1265": enc1009,
1645
+ "csUnicodeIBM1265": enc1009,
1646
+ "csunicodeibm1265": enc1009,
1647
+ "UNICODE-1-1": enc1010,
1648
+ "unicode-1-1": enc1010,
1649
+ "csUnicode11": enc1010,
1650
+ "csunicode11": enc1010,
1651
+ "SCSU": enc1011,
1652
+ "scsu": enc1011,
1653
+ "csSCSU": enc1011,
1654
+ "csscsu": enc1011,
1655
+ "UTF-7": enc1012,
1656
+ "utf-7": enc1012,
1657
+ "csUTF7": enc1012,
1658
+ "csutf7": enc1012,
1659
+ "UTF-16BE": enc1013,
1660
+ "utf-16be": enc1013,
1661
+ "csUTF16BE": enc1013,
1662
+ "csutf16be": enc1013,
1663
+ "UTF-16LE": enc1014,
1664
+ "utf-16le": enc1014,
1665
+ "csUTF16LE": enc1014,
1666
+ "csutf16le": enc1014,
1667
+ "UTF-16": enc1015,
1668
+ "utf-16": enc1015,
1669
+ "csUTF16": enc1015,
1670
+ "csutf16": enc1015,
1671
+ "CESU-8": enc1016,
1672
+ "cesu-8": enc1016,
1673
+ "csCESU8": enc1016,
1674
+ "cscesu8": enc1016,
1675
+ "csCESU-8": enc1016,
1676
+ "cscesu-8": enc1016,
1677
+ "UTF-32": enc1017,
1678
+ "utf-32": enc1017,
1679
+ "csUTF32": enc1017,
1680
+ "csutf32": enc1017,
1681
+ "UTF-32BE": enc1018,
1682
+ "utf-32be": enc1018,
1683
+ "csUTF32BE": enc1018,
1684
+ "csutf32be": enc1018,
1685
+ "UTF-32LE": enc1019,
1686
+ "utf-32le": enc1019,
1687
+ "csUTF32LE": enc1019,
1688
+ "csutf32le": enc1019,
1689
+ "BOCU-1": enc1020,
1690
+ "bocu-1": enc1020,
1691
+ "csBOCU1": enc1020,
1692
+ "csbocu1": enc1020,
1693
+ "csBOCU-1": enc1020,
1694
+ "csbocu-1": enc1020,
1695
+ "ISO-8859-1-Windows-3.0-Latin-1": enc2000,
1696
+ "iso-8859-1-windows-3.0-latin-1": enc2000,
1697
+ "csWindows30Latin1": enc2000,
1698
+ "cswindows30latin1": enc2000,
1699
+ "ISO-8859-1-Windows-3.1-Latin-1": enc2001,
1700
+ "iso-8859-1-windows-3.1-latin-1": enc2001,
1701
+ "csWindows31Latin1": enc2001,
1702
+ "cswindows31latin1": enc2001,
1703
+ "ISO-8859-2-Windows-Latin-2": enc2002,
1704
+ "iso-8859-2-windows-latin-2": enc2002,
1705
+ "csWindows31Latin2": enc2002,
1706
+ "cswindows31latin2": enc2002,
1707
+ "ISO-8859-9-Windows-Latin-5": enc2003,
1708
+ "iso-8859-9-windows-latin-5": enc2003,
1709
+ "csWindows31Latin5": enc2003,
1710
+ "cswindows31latin5": enc2003,
1711
+ "hp-roman8": enc2004,
1712
+ "roman8": enc2004,
1713
+ "r8": enc2004,
1714
+ "csHPRoman8": enc2004,
1715
+ "cshproman8": enc2004,
1716
+ "Adobe-Standard-Encoding": enc2005,
1717
+ "adobe-standard-encoding": enc2005,
1718
+ "csAdobeStandardEncoding": enc2005,
1719
+ "csadobestandardencoding": enc2005,
1720
+ "Ventura-US": enc2006,
1721
+ "ventura-us": enc2006,
1722
+ "csVenturaUS": enc2006,
1723
+ "csventuraus": enc2006,
1724
+ "Ventura-International": enc2007,
1725
+ "ventura-international": enc2007,
1726
+ "csVenturaInternational": enc2007,
1727
+ "csventurainternational": enc2007,
1728
+ "DEC-MCS": enc2008,
1729
+ "dec-mcs": enc2008,
1730
+ "dec": enc2008,
1731
+ "csDECMCS": enc2008,
1732
+ "csdecmcs": enc2008,
1733
+ "IBM850": enc2009,
1734
+ "ibm850": enc2009,
1735
+ "cp850": enc2009,
1736
+ "850": enc2009,
1737
+ "csPC850Multilingual": enc2009,
1738
+ "cspc850multilingual": enc2009,
1739
+ "PC8-Danish-Norwegian": enc2012,
1740
+ "pc8-danish-norwegian": enc2012,
1741
+ "csPC8DanishNorwegian": enc2012,
1742
+ "cspc8danishnorwegian": enc2012,
1743
+ "IBM862": enc2013,
1744
+ "ibm862": enc2013,
1745
+ "cp862": enc2013,
1746
+ "862": enc2013,
1747
+ "csPC862LatinHebrew": enc2013,
1748
+ "cspc862latinhebrew": enc2013,
1749
+ "PC8-Turkish": enc2014,
1750
+ "pc8-turkish": enc2014,
1751
+ "csPC8Turkish": enc2014,
1752
+ "cspc8turkish": enc2014,
1753
+ "IBM-Symbols": enc2015,
1754
+ "ibm-symbols": enc2015,
1755
+ "csIBMSymbols": enc2015,
1756
+ "csibmsymbols": enc2015,
1757
+ "IBM-Thai": enc2016,
1758
+ "ibm-thai": enc2016,
1759
+ "csIBMThai": enc2016,
1760
+ "csibmthai": enc2016,
1761
+ "HP-Legal": enc2017,
1762
+ "hp-legal": enc2017,
1763
+ "csHPLegal": enc2017,
1764
+ "cshplegal": enc2017,
1765
+ "HP-Pi-font": enc2018,
1766
+ "hp-pi-font": enc2018,
1767
+ "csHPPiFont": enc2018,
1768
+ "cshppifont": enc2018,
1769
+ "HP-Math8": enc2019,
1770
+ "hp-math8": enc2019,
1771
+ "csHPMath8": enc2019,
1772
+ "cshpmath8": enc2019,
1773
+ "Adobe-Symbol-Encoding": enc2020,
1774
+ "adobe-symbol-encoding": enc2020,
1775
+ "csHPPSMath": enc2020,
1776
+ "cshppsmath": enc2020,
1777
+ "HP-DeskTop": enc2021,
1778
+ "hp-desktop": enc2021,
1779
+ "csHPDesktop": enc2021,
1780
+ "cshpdesktop": enc2021,
1781
+ "Ventura-Math": enc2022,
1782
+ "ventura-math": enc2022,
1783
+ "csVenturaMath": enc2022,
1784
+ "csventuramath": enc2022,
1785
+ "Microsoft-Publishing": enc2023,
1786
+ "microsoft-publishing": enc2023,
1787
+ "csMicrosoftPublishing": enc2023,
1788
+ "csmicrosoftpublishing": enc2023,
1789
+ "Windows-31J": enc2024,
1790
+ "windows-31j": enc2024,
1791
+ "csWindows31J": enc2024,
1792
+ "cswindows31j": enc2024,
1793
+ "GB2312": enc2025,
1794
+ "gb2312": enc2025,
1795
+ "csGB2312": enc2025,
1796
+ "csgb2312": enc2025,
1797
+ "Big5": enc2026,
1798
+ "big5": enc2026,
1799
+ "csBig5": enc2026,
1800
+ "csbig5": enc2026,
1801
+ "macintosh": enc2027,
1802
+ "mac": enc2027,
1803
+ "csMacintosh": enc2027,
1804
+ "csmacintosh": enc2027,
1805
+ "IBM037": enc2028,
1806
+ "ibm037": enc2028,
1807
+ "cp037": enc2028,
1808
+ "ebcdic-cp-us": enc2028,
1809
+ "ebcdic-cp-ca": enc2028,
1810
+ "ebcdic-cp-wt": enc2028,
1811
+ "ebcdic-cp-nl": enc2028,
1812
+ "csIBM037": enc2028,
1813
+ "csibm037": enc2028,
1814
+ "IBM038": enc2029,
1815
+ "ibm038": enc2029,
1816
+ "EBCDIC-INT": enc2029,
1817
+ "ebcdic-int": enc2029,
1818
+ "cp038": enc2029,
1819
+ "csIBM038": enc2029,
1820
+ "csibm038": enc2029,
1821
+ "IBM273": enc2030,
1822
+ "ibm273": enc2030,
1823
+ "CP273": enc2030,
1824
+ "cp273": enc2030,
1825
+ "csIBM273": enc2030,
1826
+ "csibm273": enc2030,
1827
+ "IBM274": enc2031,
1828
+ "ibm274": enc2031,
1829
+ "EBCDIC-BE": enc2031,
1830
+ "ebcdic-be": enc2031,
1831
+ "CP274": enc2031,
1832
+ "cp274": enc2031,
1833
+ "csIBM274": enc2031,
1834
+ "csibm274": enc2031,
1835
+ "IBM275": enc2032,
1836
+ "ibm275": enc2032,
1837
+ "EBCDIC-BR": enc2032,
1838
+ "ebcdic-br": enc2032,
1839
+ "cp275": enc2032,
1840
+ "csIBM275": enc2032,
1841
+ "csibm275": enc2032,
1842
+ "IBM277": enc2033,
1843
+ "ibm277": enc2033,
1844
+ "EBCDIC-CP-DK": enc2033,
1845
+ "ebcdic-cp-dk": enc2033,
1846
+ "EBCDIC-CP-NO": enc2033,
1847
+ "ebcdic-cp-no": enc2033,
1848
+ "csIBM277": enc2033,
1849
+ "csibm277": enc2033,
1850
+ "IBM278": enc2034,
1851
+ "ibm278": enc2034,
1852
+ "CP278": enc2034,
1853
+ "cp278": enc2034,
1854
+ "ebcdic-cp-fi": enc2034,
1855
+ "ebcdic-cp-se": enc2034,
1856
+ "csIBM278": enc2034,
1857
+ "csibm278": enc2034,
1858
+ "IBM280": enc2035,
1859
+ "ibm280": enc2035,
1860
+ "CP280": enc2035,
1861
+ "cp280": enc2035,
1862
+ "ebcdic-cp-it": enc2035,
1863
+ "csIBM280": enc2035,
1864
+ "csibm280": enc2035,
1865
+ "IBM281": enc2036,
1866
+ "ibm281": enc2036,
1867
+ "EBCDIC-JP-E": enc2036,
1868
+ "ebcdic-jp-e": enc2036,
1869
+ "cp281": enc2036,
1870
+ "csIBM281": enc2036,
1871
+ "csibm281": enc2036,
1872
+ "IBM284": enc2037,
1873
+ "ibm284": enc2037,
1874
+ "CP284": enc2037,
1875
+ "cp284": enc2037,
1876
+ "ebcdic-cp-es": enc2037,
1877
+ "csIBM284": enc2037,
1878
+ "csibm284": enc2037,
1879
+ "IBM285": enc2038,
1880
+ "ibm285": enc2038,
1881
+ "CP285": enc2038,
1882
+ "cp285": enc2038,
1883
+ "ebcdic-cp-gb": enc2038,
1884
+ "csIBM285": enc2038,
1885
+ "csibm285": enc2038,
1886
+ "IBM290": enc2039,
1887
+ "ibm290": enc2039,
1888
+ "cp290": enc2039,
1889
+ "EBCDIC-JP-kana": enc2039,
1890
+ "ebcdic-jp-kana": enc2039,
1891
+ "csIBM290": enc2039,
1892
+ "csibm290": enc2039,
1893
+ "IBM297": enc2040,
1894
+ "ibm297": enc2040,
1895
+ "cp297": enc2040,
1896
+ "ebcdic-cp-fr": enc2040,
1897
+ "csIBM297": enc2040,
1898
+ "csibm297": enc2040,
1899
+ "IBM420": enc2041,
1900
+ "ibm420": enc2041,
1901
+ "cp420": enc2041,
1902
+ "ebcdic-cp-ar1": enc2041,
1903
+ "csIBM420": enc2041,
1904
+ "csibm420": enc2041,
1905
+ "IBM423": enc2042,
1906
+ "ibm423": enc2042,
1907
+ "cp423": enc2042,
1908
+ "ebcdic-cp-gr": enc2042,
1909
+ "csIBM423": enc2042,
1910
+ "csibm423": enc2042,
1911
+ "IBM424": enc2043,
1912
+ "ibm424": enc2043,
1913
+ "cp424": enc2043,
1914
+ "ebcdic-cp-he": enc2043,
1915
+ "csIBM424": enc2043,
1916
+ "csibm424": enc2043,
1917
+ "IBM437": enc2011,
1918
+ "ibm437": enc2011,
1919
+ "cp437": enc2011,
1920
+ "437": enc2011,
1921
+ "csPC8CodePage437": enc2011,
1922
+ "cspc8codepage437": enc2011,
1923
+ "IBM500": enc2044,
1924
+ "ibm500": enc2044,
1925
+ "CP500": enc2044,
1926
+ "cp500": enc2044,
1927
+ "ebcdic-cp-be": enc2044,
1928
+ "ebcdic-cp-ch": enc2044,
1929
+ "csIBM500": enc2044,
1930
+ "csibm500": enc2044,
1931
+ "IBM851": enc2045,
1932
+ "ibm851": enc2045,
1933
+ "cp851": enc2045,
1934
+ "851": enc2045,
1935
+ "csIBM851": enc2045,
1936
+ "csibm851": enc2045,
1937
+ "IBM852": enc2010,
1938
+ "ibm852": enc2010,
1939
+ "cp852": enc2010,
1940
+ "852": enc2010,
1941
+ "csPCp852": enc2010,
1942
+ "cspcp852": enc2010,
1943
+ "IBM855": enc2046,
1944
+ "ibm855": enc2046,
1945
+ "cp855": enc2046,
1946
+ "855": enc2046,
1947
+ "csIBM855": enc2046,
1948
+ "csibm855": enc2046,
1949
+ "IBM857": enc2047,
1950
+ "ibm857": enc2047,
1951
+ "cp857": enc2047,
1952
+ "857": enc2047,
1953
+ "csIBM857": enc2047,
1954
+ "csibm857": enc2047,
1955
+ "IBM860": enc2048,
1956
+ "ibm860": enc2048,
1957
+ "cp860": enc2048,
1958
+ "860": enc2048,
1959
+ "csIBM860": enc2048,
1960
+ "csibm860": enc2048,
1961
+ "IBM861": enc2049,
1962
+ "ibm861": enc2049,
1963
+ "cp861": enc2049,
1964
+ "861": enc2049,
1965
+ "cp-is": enc2049,
1966
+ "csIBM861": enc2049,
1967
+ "csibm861": enc2049,
1968
+ "IBM863": enc2050,
1969
+ "ibm863": enc2050,
1970
+ "cp863": enc2050,
1971
+ "863": enc2050,
1972
+ "csIBM863": enc2050,
1973
+ "csibm863": enc2050,
1974
+ "IBM864": enc2051,
1975
+ "ibm864": enc2051,
1976
+ "cp864": enc2051,
1977
+ "csIBM864": enc2051,
1978
+ "csibm864": enc2051,
1979
+ "IBM865": enc2052,
1980
+ "ibm865": enc2052,
1981
+ "cp865": enc2052,
1982
+ "865": enc2052,
1983
+ "csIBM865": enc2052,
1984
+ "csibm865": enc2052,
1985
+ "IBM868": enc2053,
1986
+ "ibm868": enc2053,
1987
+ "CP868": enc2053,
1988
+ "cp868": enc2053,
1989
+ "cp-ar": enc2053,
1990
+ "csIBM868": enc2053,
1991
+ "csibm868": enc2053,
1992
+ "IBM869": enc2054,
1993
+ "ibm869": enc2054,
1994
+ "cp869": enc2054,
1995
+ "869": enc2054,
1996
+ "cp-gr": enc2054,
1997
+ "csIBM869": enc2054,
1998
+ "csibm869": enc2054,
1999
+ "IBM870": enc2055,
2000
+ "ibm870": enc2055,
2001
+ "CP870": enc2055,
2002
+ "cp870": enc2055,
2003
+ "ebcdic-cp-roece": enc2055,
2004
+ "ebcdic-cp-yu": enc2055,
2005
+ "csIBM870": enc2055,
2006
+ "csibm870": enc2055,
2007
+ "IBM871": enc2056,
2008
+ "ibm871": enc2056,
2009
+ "CP871": enc2056,
2010
+ "cp871": enc2056,
2011
+ "ebcdic-cp-is": enc2056,
2012
+ "csIBM871": enc2056,
2013
+ "csibm871": enc2056,
2014
+ "IBM880": enc2057,
2015
+ "ibm880": enc2057,
2016
+ "cp880": enc2057,
2017
+ "EBCDIC-Cyrillic": enc2057,
2018
+ "ebcdic-cyrillic": enc2057,
2019
+ "csIBM880": enc2057,
2020
+ "csibm880": enc2057,
2021
+ "IBM891": enc2058,
2022
+ "ibm891": enc2058,
2023
+ "cp891": enc2058,
2024
+ "csIBM891": enc2058,
2025
+ "csibm891": enc2058,
2026
+ "IBM903": enc2059,
2027
+ "ibm903": enc2059,
2028
+ "cp903": enc2059,
2029
+ "csIBM903": enc2059,
2030
+ "csibm903": enc2059,
2031
+ "IBM904": enc2060,
2032
+ "ibm904": enc2060,
2033
+ "cp904": enc2060,
2034
+ "904": enc2060,
2035
+ "csIBBM904": enc2060,
2036
+ "csibbm904": enc2060,
2037
+ "IBM905": enc2061,
2038
+ "ibm905": enc2061,
2039
+ "CP905": enc2061,
2040
+ "cp905": enc2061,
2041
+ "ebcdic-cp-tr": enc2061,
2042
+ "csIBM905": enc2061,
2043
+ "csibm905": enc2061,
2044
+ "IBM918": enc2062,
2045
+ "ibm918": enc2062,
2046
+ "CP918": enc2062,
2047
+ "cp918": enc2062,
2048
+ "ebcdic-cp-ar2": enc2062,
2049
+ "csIBM918": enc2062,
2050
+ "csibm918": enc2062,
2051
+ "IBM1026": enc2063,
2052
+ "ibm1026": enc2063,
2053
+ "CP1026": enc2063,
2054
+ "cp1026": enc2063,
2055
+ "csIBM1026": enc2063,
2056
+ "csibm1026": enc2063,
2057
+ "EBCDIC-AT-DE": enc2064,
2058
+ "ebcdic-at-de": enc2064,
2059
+ "csIBMEBCDICATDE": enc2064,
2060
+ "csibmebcdicatde": enc2064,
2061
+ "EBCDIC-AT-DE-A": enc2065,
2062
+ "ebcdic-at-de-a": enc2065,
2063
+ "csEBCDICATDEA": enc2065,
2064
+ "csebcdicatdea": enc2065,
2065
+ "EBCDIC-CA-FR": enc2066,
2066
+ "ebcdic-ca-fr": enc2066,
2067
+ "csEBCDICCAFR": enc2066,
2068
+ "csebcdiccafr": enc2066,
2069
+ "EBCDIC-DK-NO": enc2067,
2070
+ "ebcdic-dk-no": enc2067,
2071
+ "csEBCDICDKNO": enc2067,
2072
+ "csebcdicdkno": enc2067,
2073
+ "EBCDIC-DK-NO-A": enc2068,
2074
+ "ebcdic-dk-no-a": enc2068,
2075
+ "csEBCDICDKNOA": enc2068,
2076
+ "csebcdicdknoa": enc2068,
2077
+ "EBCDIC-FI-SE": enc2069,
2078
+ "ebcdic-fi-se": enc2069,
2079
+ "csEBCDICFISE": enc2069,
2080
+ "csebcdicfise": enc2069,
2081
+ "EBCDIC-FI-SE-A": enc2070,
2082
+ "ebcdic-fi-se-a": enc2070,
2083
+ "csEBCDICFISEA": enc2070,
2084
+ "csebcdicfisea": enc2070,
2085
+ "EBCDIC-FR": enc2071,
2086
+ "ebcdic-fr": enc2071,
2087
+ "csEBCDICFR": enc2071,
2088
+ "csebcdicfr": enc2071,
2089
+ "EBCDIC-IT": enc2072,
2090
+ "ebcdic-it": enc2072,
2091
+ "csEBCDICIT": enc2072,
2092
+ "csebcdicit": enc2072,
2093
+ "EBCDIC-PT": enc2073,
2094
+ "ebcdic-pt": enc2073,
2095
+ "csEBCDICPT": enc2073,
2096
+ "csebcdicpt": enc2073,
2097
+ "EBCDIC-ES": enc2074,
2098
+ "ebcdic-es": enc2074,
2099
+ "csEBCDICES": enc2074,
2100
+ "csebcdices": enc2074,
2101
+ "EBCDIC-ES-A": enc2075,
2102
+ "ebcdic-es-a": enc2075,
2103
+ "csEBCDICESA": enc2075,
2104
+ "csebcdicesa": enc2075,
2105
+ "EBCDIC-ES-S": enc2076,
2106
+ "ebcdic-es-s": enc2076,
2107
+ "csEBCDICESS": enc2076,
2108
+ "csebcdicess": enc2076,
2109
+ "EBCDIC-UK": enc2077,
2110
+ "ebcdic-uk": enc2077,
2111
+ "csEBCDICUK": enc2077,
2112
+ "csebcdicuk": enc2077,
2113
+ "EBCDIC-US": enc2078,
2114
+ "ebcdic-us": enc2078,
2115
+ "csEBCDICUS": enc2078,
2116
+ "csebcdicus": enc2078,
2117
+ "UNKNOWN-8BIT": enc2079,
2118
+ "unknown-8bit": enc2079,
2119
+ "csUnknown8BiT": enc2079,
2120
+ "csunknown8bit": enc2079,
2121
+ "MNEMONIC": enc2080,
2122
+ "mnemonic": enc2080,
2123
+ "csMnemonic": enc2080,
2124
+ "csmnemonic": enc2080,
2125
+ "MNEM": enc2081,
2126
+ "mnem": enc2081,
2127
+ "csMnem": enc2081,
2128
+ "csmnem": enc2081,
2129
+ "VISCII": enc2082,
2130
+ "viscii": enc2082,
2131
+ "csVISCII": enc2082,
2132
+ "csviscii": enc2082,
2133
+ "VIQR": enc2083,
2134
+ "viqr": enc2083,
2135
+ "csVIQR": enc2083,
2136
+ "csviqr": enc2083,
2137
+ "KOI8-R": enc2084,
2138
+ "koi8-r": enc2084,
2139
+ "csKOI8R": enc2084,
2140
+ "cskoi8r": enc2084,
2141
+ "HZ-GB-2312": enc2085,
2142
+ "hz-gb-2312": enc2085,
2143
+ "IBM866": enc2086,
2144
+ "ibm866": enc2086,
2145
+ "cp866": enc2086,
2146
+ "866": enc2086,
2147
+ "csIBM866": enc2086,
2148
+ "csibm866": enc2086,
2149
+ "IBM775": enc2087,
2150
+ "ibm775": enc2087,
2151
+ "cp775": enc2087,
2152
+ "csPC775Baltic": enc2087,
2153
+ "cspc775baltic": enc2087,
2154
+ "KOI8-U": enc2088,
2155
+ "koi8-u": enc2088,
2156
+ "csKOI8U": enc2088,
2157
+ "cskoi8u": enc2088,
2158
+ "IBM00858": enc2089,
2159
+ "ibm00858": enc2089,
2160
+ "CCSID00858": enc2089,
2161
+ "ccsid00858": enc2089,
2162
+ "CP00858": enc2089,
2163
+ "cp00858": enc2089,
2164
+ "PC-Multilingual-850+euro": enc2089,
2165
+ "pc-multilingual-850+euro": enc2089,
2166
+ "csIBM00858": enc2089,
2167
+ "csibm00858": enc2089,
2168
+ "IBM00924": enc2090,
2169
+ "ibm00924": enc2090,
2170
+ "CCSID00924": enc2090,
2171
+ "ccsid00924": enc2090,
2172
+ "CP00924": enc2090,
2173
+ "cp00924": enc2090,
2174
+ "ebcdic-Latin9--euro": enc2090,
2175
+ "ebcdic-latin9--euro": enc2090,
2176
+ "csIBM00924": enc2090,
2177
+ "csibm00924": enc2090,
2178
+ "IBM01140": enc2091,
2179
+ "ibm01140": enc2091,
2180
+ "CCSID01140": enc2091,
2181
+ "ccsid01140": enc2091,
2182
+ "CP01140": enc2091,
2183
+ "cp01140": enc2091,
2184
+ "ebcdic-us-37+euro": enc2091,
2185
+ "csIBM01140": enc2091,
2186
+ "csibm01140": enc2091,
2187
+ "IBM01141": enc2092,
2188
+ "ibm01141": enc2092,
2189
+ "CCSID01141": enc2092,
2190
+ "ccsid01141": enc2092,
2191
+ "CP01141": enc2092,
2192
+ "cp01141": enc2092,
2193
+ "ebcdic-de-273+euro": enc2092,
2194
+ "csIBM01141": enc2092,
2195
+ "csibm01141": enc2092,
2196
+ "IBM01142": enc2093,
2197
+ "ibm01142": enc2093,
2198
+ "CCSID01142": enc2093,
2199
+ "ccsid01142": enc2093,
2200
+ "CP01142": enc2093,
2201
+ "cp01142": enc2093,
2202
+ "ebcdic-dk-277+euro": enc2093,
2203
+ "ebcdic-no-277+euro": enc2093,
2204
+ "csIBM01142": enc2093,
2205
+ "csibm01142": enc2093,
2206
+ "IBM01143": enc2094,
2207
+ "ibm01143": enc2094,
2208
+ "CCSID01143": enc2094,
2209
+ "ccsid01143": enc2094,
2210
+ "CP01143": enc2094,
2211
+ "cp01143": enc2094,
2212
+ "ebcdic-fi-278+euro": enc2094,
2213
+ "ebcdic-se-278+euro": enc2094,
2214
+ "csIBM01143": enc2094,
2215
+ "csibm01143": enc2094,
2216
+ "IBM01144": enc2095,
2217
+ "ibm01144": enc2095,
2218
+ "CCSID01144": enc2095,
2219
+ "ccsid01144": enc2095,
2220
+ "CP01144": enc2095,
2221
+ "cp01144": enc2095,
2222
+ "ebcdic-it-280+euro": enc2095,
2223
+ "csIBM01144": enc2095,
2224
+ "csibm01144": enc2095,
2225
+ "IBM01145": enc2096,
2226
+ "ibm01145": enc2096,
2227
+ "CCSID01145": enc2096,
2228
+ "ccsid01145": enc2096,
2229
+ "CP01145": enc2096,
2230
+ "cp01145": enc2096,
2231
+ "ebcdic-es-284+euro": enc2096,
2232
+ "csIBM01145": enc2096,
2233
+ "csibm01145": enc2096,
2234
+ "IBM01146": enc2097,
2235
+ "ibm01146": enc2097,
2236
+ "CCSID01146": enc2097,
2237
+ "ccsid01146": enc2097,
2238
+ "CP01146": enc2097,
2239
+ "cp01146": enc2097,
2240
+ "ebcdic-gb-285+euro": enc2097,
2241
+ "csIBM01146": enc2097,
2242
+ "csibm01146": enc2097,
2243
+ "IBM01147": enc2098,
2244
+ "ibm01147": enc2098,
2245
+ "CCSID01147": enc2098,
2246
+ "ccsid01147": enc2098,
2247
+ "CP01147": enc2098,
2248
+ "cp01147": enc2098,
2249
+ "ebcdic-fr-297+euro": enc2098,
2250
+ "csIBM01147": enc2098,
2251
+ "csibm01147": enc2098,
2252
+ "IBM01148": enc2099,
2253
+ "ibm01148": enc2099,
2254
+ "CCSID01148": enc2099,
2255
+ "ccsid01148": enc2099,
2256
+ "CP01148": enc2099,
2257
+ "cp01148": enc2099,
2258
+ "ebcdic-international-500+euro": enc2099,
2259
+ "csIBM01148": enc2099,
2260
+ "csibm01148": enc2099,
2261
+ "IBM01149": enc2100,
2262
+ "ibm01149": enc2100,
2263
+ "CCSID01149": enc2100,
2264
+ "ccsid01149": enc2100,
2265
+ "CP01149": enc2100,
2266
+ "cp01149": enc2100,
2267
+ "ebcdic-is-871+euro": enc2100,
2268
+ "csIBM01149": enc2100,
2269
+ "csibm01149": enc2100,
2270
+ "Big5-HKSCS": enc2101,
2271
+ "big5-hkscs": enc2101,
2272
+ "csBig5HKSCS": enc2101,
2273
+ "csbig5hkscs": enc2101,
2274
+ "IBM1047": enc2102,
2275
+ "ibm1047": enc2102,
2276
+ "IBM-1047": enc2102,
2277
+ "ibm-1047": enc2102,
2278
+ "csIBM1047": enc2102,
2279
+ "csibm1047": enc2102,
2280
+ "PTCP154": enc2103,
2281
+ "ptcp154": enc2103,
2282
+ "csPTCP154": enc2103,
2283
+ "csptcp154": enc2103,
2284
+ "PT154": enc2103,
2285
+ "pt154": enc2103,
2286
+ "CP154": enc2103,
2287
+ "cp154": enc2103,
2288
+ "Cyrillic-Asian": enc2103,
2289
+ "cyrillic-asian": enc2103,
2290
+ "Amiga-1251": enc2104,
2291
+ "amiga-1251": enc2104,
2292
+ "Ami1251": enc2104,
2293
+ "ami1251": enc2104,
2294
+ "Amiga1251": enc2104,
2295
+ "amiga1251": enc2104,
2296
+ "Ami-1251": enc2104,
2297
+ "ami-1251": enc2104,
2298
+ "csAmiga1251\n(Aliases": enc2104,
2299
+ "csamiga1251\n(aliases": enc2104,
2300
+ "KOI7-switched": enc2105,
2301
+ "koi7-switched": enc2105,
2302
+ "csKOI7switched": enc2105,
2303
+ "cskoi7switched": enc2105,
2304
+ "BRF": enc2106,
2305
+ "brf": enc2106,
2306
+ "csBRF": enc2106,
2307
+ "csbrf": enc2106,
2308
+ "TSCII": enc2107,
2309
+ "tscii": enc2107,
2310
+ "csTSCII": enc2107,
2311
+ "cstscii": enc2107,
2312
+ "CP51932": enc2108,
2313
+ "cp51932": enc2108,
2314
+ "csCP51932": enc2108,
2315
+ "cscp51932": enc2108,
2316
+ "windows-874": enc2109,
2317
+ "cswindows874": enc2109,
2318
+ "windows-1250": enc2250,
2319
+ "cswindows1250": enc2250,
2320
+ "windows-1251": enc2251,
2321
+ "cswindows1251": enc2251,
2322
+ "windows-1252": enc2252,
2323
+ "cswindows1252": enc2252,
2324
+ "windows-1253": enc2253,
2325
+ "cswindows1253": enc2253,
2326
+ "windows-1254": enc2254,
2327
+ "cswindows1254": enc2254,
2328
+ "windows-1255": enc2255,
2329
+ "cswindows1255": enc2255,
2330
+ "windows-1256": enc2256,
2331
+ "cswindows1256": enc2256,
2332
+ "windows-1257": enc2257,
2333
+ "cswindows1257": enc2257,
2334
+ "windows-1258": enc2258,
2335
+ "cswindows1258": enc2258,
2336
+ "TIS-620": enc2259,
2337
+ "tis-620": enc2259,
2338
+ "csTIS620": enc2259,
2339
+ "cstis620": enc2259,
2340
+ "ISO-8859-11": enc2259,
2341
+ "iso-8859-11": enc2259,
2342
+ "CP50220": enc2260,
2343
+ "cp50220": enc2260,
2344
+ "csCP50220": enc2260,
2345
+ "cscp50220": enc2260,
2346
+ }
2347
+
2348
+ // Total table size 14402 bytes (14KiB); checksum: CEBAA10C