You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

469 lines
16 KiB

8 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="theme-color" content="#375EAB">
  7. <title>charmap - The Go Programming Language</title>
  8. <link type="text/css" rel="stylesheet" href="../../../../../../lib/godoc/style.css">
  9. <link rel="stylesheet" href="../../../../../../lib/godoc/jquery.treeview.css">
  10. <script type="text/javascript">window.initFuncs = [];</script>
  11. </head>
  12. <body>
  13. <div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
  14. ...
  15. </div><!-- #lowframe -->
  16. <div id="topbar" class="wide"><div class="container">
  17. <div class="top-heading" id="heading-wide"><a href="http://localhost:6060/">The Go Programming Language</a></div>
  18. <div class="top-heading" id="heading-narrow"><a href="http://localhost:6060/">Go</a></div>
  19. <a href="index.html#" id="menu-button"><span id="menu-button-arrow">&#9661;</span></a>
  20. <form method="GET" action="http://localhost:6060/search">
  21. <div id="menu">
  22. <a href="http://localhost:6060/doc/">Documents</a>
  23. <a href="http://localhost:6060/pkg/">Packages</a>
  24. <a href="http://localhost:6060/project/">The Project</a>
  25. <a href="http://localhost:6060/help/">Help</a>
  26. <a href="http://localhost:6060/blog/">Blog</a>
  27. <input type="text" id="search" name="q" class="inactive" value="Search" placeholder="Search">
  28. </div>
  29. </form>
  30. </div></div>
  31. <div id="page" class="wide">
  32. <div class="container">
  33. <h1>Package charmap</h1>
  34. <div id="nav"></div>
  35. <!--
  36. Copyright 2009 The Go Authors. All rights reserved.
  37. Use of this source code is governed by a BSD-style
  38. license that can be found in the LICENSE file.
  39. -->
  40. <!--
  41. Note: Static (i.e., not template-generated) href and id
  42. attributes start with "pkg-" to make it impossible for
  43. them to conflict with generated attributes (some of which
  44. correspond to Go identifiers).
  45. -->
  46. <script type='text/javascript'>
  47. document.ANALYSIS_DATA = null;
  48. document.CALLGRAPH = null;
  49. </script>
  50. <div id="short-nav">
  51. <dl>
  52. <dd><code>import "golang.org/x/text/encoding/charmap"</code></dd>
  53. </dl>
  54. <dl>
  55. <dd><a href="index.html#pkg-overview" class="overviewLink">Overview</a></dd>
  56. <dd><a href="index.html#pkg-index" class="indexLink">Index</a></dd>
  57. </dl>
  58. </div>
  59. <!-- The package's Name is printed as title by the top-level template -->
  60. <div id="pkg-overview" class="toggleVisible">
  61. <div class="collapsed">
  62. <h2 class="toggleButton" title="Click to show Overview section">Overview ▹</h2>
  63. </div>
  64. <div class="expanded">
  65. <h2 class="toggleButton" title="Click to hide Overview section">Overview ▾</h2>
  66. <p>
  67. Package charmap provides simple character encodings such as IBM Code Page 437
  68. and Windows 1252.
  69. </p>
  70. </div>
  71. </div>
  72. <div id="pkg-index" class="toggleVisible">
  73. <div class="collapsed">
  74. <h2 class="toggleButton" title="Click to show Index section">Index ▹</h2>
  75. </div>
  76. <div class="expanded">
  77. <h2 class="toggleButton" title="Click to hide Index section">Index ▾</h2>
  78. <!-- Table of contents for API; must be named manual-nav to turn off auto nav. -->
  79. <div id="manual-nav">
  80. <dl>
  81. <dd><a href="index.html#pkg-variables">Variables</a></dd>
  82. </dl>
  83. </div><!-- #manual-nav -->
  84. <h4>Package files</h4>
  85. <p>
  86. <span style="font-size:90%">
  87. <a href="http://localhost:6060/src/golang.org/x/text/encoding/charmap/charmap.go">charmap.go</a>
  88. <a href="http://localhost:6060/src/golang.org/x/text/encoding/charmap/tables.go">tables.go</a>
  89. </span>
  90. </p>
  91. </div><!-- .expanded -->
  92. </div><!-- #pkg-index -->
  93. <div id="pkg-callgraph" class="toggle" style="display: none">
  94. <div class="collapsed">
  95. <h2 class="toggleButton" title="Click to show Internal Call Graph section">Internal call graph ▹</h2>
  96. </div> <!-- .expanded -->
  97. <div class="expanded">
  98. <h2 class="toggleButton" title="Click to hide Internal Call Graph section">Internal call graph ▾</h2>
  99. <p>
  100. In the call graph viewer below, each node
  101. is a function belonging to this package
  102. and its children are the functions it
  103. calls&mdash;perhaps dynamically.
  104. </p>
  105. <p>
  106. The root nodes are the entry points of the
  107. package: functions that may be called from
  108. outside the package.
  109. There may be non-exported or anonymous
  110. functions among them if they are called
  111. dynamically from another package.
  112. </p>
  113. <p>
  114. Click a node to visit that function's source code.
  115. From there you can visit its callers by
  116. clicking its declaring <code>func</code>
  117. token.
  118. </p>
  119. <p>
  120. Functions may be omitted if they were
  121. determined to be unreachable in the
  122. particular programs or tests that were
  123. analyzed.
  124. </p>
  125. <!-- Zero means show all package entry points. -->
  126. <ul style="margin-left: 0.5in" id="callgraph-0" class="treeview"></ul>
  127. </div>
  128. </div> <!-- #pkg-callgraph -->
  129. <h2 id="pkg-variables">Variables</h2>
  130. <pre>var (
  131. <span class="comment">// ISO8859_6E is the ISO 8859-6E encoding.</span>
  132. <span id="ISO8859_6E">ISO8859_6E</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_6E
  133. <span class="comment">// ISO8859_6I is the ISO 8859-6I encoding.</span>
  134. <span id="ISO8859_6I">ISO8859_6I</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_6I
  135. <span class="comment">// ISO8859_8E is the ISO 8859-8E encoding.</span>
  136. <span id="ISO8859_8E">ISO8859_8E</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_8E
  137. <span class="comment">// ISO8859_8I is the ISO 8859-8I encoding.</span>
  138. <span id="ISO8859_8I">ISO8859_8I</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_8I
  139. )</pre>
  140. <p>
  141. These encodings vary only in the way clients should interpret them. Their
  142. coded character set is identical and a single implementation can be shared.
  143. </p>
  144. <pre>var <span id="All">All</span> = listAll</pre>
  145. <p>
  146. All is a list of all defined encodings in this package.
  147. </p>
  148. <pre>var <span id="CodePage437">CodePage437</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage437</pre>
  149. <p>
  150. CodePage437 is the IBM Code Page 437 encoding.
  151. </p>
  152. <pre>var <span id="CodePage850">CodePage850</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage850</pre>
  153. <p>
  154. CodePage850 is the IBM Code Page 850 encoding.
  155. </p>
  156. <pre>var <span id="CodePage852">CodePage852</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage852</pre>
  157. <p>
  158. CodePage852 is the IBM Code Page 852 encoding.
  159. </p>
  160. <pre>var <span id="CodePage855">CodePage855</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage855</pre>
  161. <p>
  162. CodePage855 is the IBM Code Page 855 encoding.
  163. </p>
  164. <pre>var <span id="CodePage858">CodePage858</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage858</pre>
  165. <p>
  166. CodePage858 is the Windows Code Page 858 encoding.
  167. </p>
  168. <pre>var <span id="CodePage860">CodePage860</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage860</pre>
  169. <p>
  170. CodePage860 is the IBM Code Page 860 encoding.
  171. </p>
  172. <pre>var <span id="CodePage862">CodePage862</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage862</pre>
  173. <p>
  174. CodePage862 is the IBM Code Page 862 encoding.
  175. </p>
  176. <pre>var <span id="CodePage863">CodePage863</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage863</pre>
  177. <p>
  178. CodePage863 is the IBM Code Page 863 encoding.
  179. </p>
  180. <pre>var <span id="CodePage865">CodePage865</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage865</pre>
  181. <p>
  182. CodePage865 is the IBM Code Page 865 encoding.
  183. </p>
  184. <pre>var <span id="CodePage866">CodePage866</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;codePage866</pre>
  185. <p>
  186. CodePage866 is the IBM Code Page 866 encoding.
  187. </p>
  188. <pre>var <span id="ISO8859_1">ISO8859_1</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_1</pre>
  189. <p>
  190. ISO8859_1 is the ISO 8859-1 encoding.
  191. </p>
  192. <pre>var <span id="ISO8859_10">ISO8859_10</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_10</pre>
  193. <p>
  194. ISO8859_10 is the ISO 8859-10 encoding.
  195. </p>
  196. <pre>var <span id="ISO8859_13">ISO8859_13</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_13</pre>
  197. <p>
  198. ISO8859_13 is the ISO 8859-13 encoding.
  199. </p>
  200. <pre>var <span id="ISO8859_14">ISO8859_14</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_14</pre>
  201. <p>
  202. ISO8859_14 is the ISO 8859-14 encoding.
  203. </p>
  204. <pre>var <span id="ISO8859_15">ISO8859_15</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_15</pre>
  205. <p>
  206. ISO8859_15 is the ISO 8859-15 encoding.
  207. </p>
  208. <pre>var <span id="ISO8859_16">ISO8859_16</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_16</pre>
  209. <p>
  210. ISO8859_16 is the ISO 8859-16 encoding.
  211. </p>
  212. <pre>var <span id="ISO8859_2">ISO8859_2</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_2</pre>
  213. <p>
  214. ISO8859_2 is the ISO 8859-2 encoding.
  215. </p>
  216. <pre>var <span id="ISO8859_3">ISO8859_3</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_3</pre>
  217. <p>
  218. ISO8859_3 is the ISO 8859-3 encoding.
  219. </p>
  220. <pre>var <span id="ISO8859_4">ISO8859_4</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_4</pre>
  221. <p>
  222. ISO8859_4 is the ISO 8859-4 encoding.
  223. </p>
  224. <pre>var <span id="ISO8859_5">ISO8859_5</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_5</pre>
  225. <p>
  226. ISO8859_5 is the ISO 8859-5 encoding.
  227. </p>
  228. <pre>var <span id="ISO8859_6">ISO8859_6</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_6</pre>
  229. <p>
  230. ISO8859_6 is the ISO 8859-6 encoding.
  231. </p>
  232. <pre>var <span id="ISO8859_7">ISO8859_7</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_7</pre>
  233. <p>
  234. ISO8859_7 is the ISO 8859-7 encoding.
  235. </p>
  236. <pre>var <span id="ISO8859_8">ISO8859_8</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;iso8859_8</pre>
  237. <p>
  238. ISO8859_8 is the ISO 8859-8 encoding.
  239. </p>
  240. <pre>var <span id="KOI8R">KOI8R</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;koi8R</pre>
  241. <p>
  242. KOI8R is the KOI8-R encoding.
  243. </p>
  244. <pre>var <span id="KOI8U">KOI8U</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;koi8U</pre>
  245. <p>
  246. KOI8U is the KOI8-U encoding.
  247. </p>
  248. <pre>var <span id="Macintosh">Macintosh</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;macintosh</pre>
  249. <p>
  250. Macintosh is the Macintosh encoding.
  251. </p>
  252. <pre>var <span id="MacintoshCyrillic">MacintoshCyrillic</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;macintoshCyrillic</pre>
  253. <p>
  254. MacintoshCyrillic is the Macintosh Cyrillic encoding.
  255. </p>
  256. <pre>var <span id="Windows1250">Windows1250</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1250</pre>
  257. <p>
  258. Windows1250 is the Windows 1250 encoding.
  259. </p>
  260. <pre>var <span id="Windows1251">Windows1251</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1251</pre>
  261. <p>
  262. Windows1251 is the Windows 1251 encoding.
  263. </p>
  264. <pre>var <span id="Windows1252">Windows1252</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1252</pre>
  265. <p>
  266. Windows1252 is the Windows 1252 encoding.
  267. </p>
  268. <pre>var <span id="Windows1253">Windows1253</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1253</pre>
  269. <p>
  270. Windows1253 is the Windows 1253 encoding.
  271. </p>
  272. <pre>var <span id="Windows1254">Windows1254</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1254</pre>
  273. <p>
  274. Windows1254 is the Windows 1254 encoding.
  275. </p>
  276. <pre>var <span id="Windows1255">Windows1255</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1255</pre>
  277. <p>
  278. Windows1255 is the Windows 1255 encoding.
  279. </p>
  280. <pre>var <span id="Windows1256">Windows1256</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1256</pre>
  281. <p>
  282. Windows1256 is the Windows 1256 encoding.
  283. </p>
  284. <pre>var <span id="Windows1257">Windows1257</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1257</pre>
  285. <p>
  286. Windows1257 is the Windows 1257 encoding.
  287. </p>
  288. <pre>var <span id="Windows1258">Windows1258</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows1258</pre>
  289. <p>
  290. Windows1258 is the Windows 1258 encoding.
  291. </p>
  292. <pre>var <span id="Windows874">Windows874</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;windows874</pre>
  293. <p>
  294. Windows874 is the Windows 874 encoding.
  295. </p>
  296. <pre>var <span id="XUserDefined">XUserDefined</span> <a href="../index.html">encoding</a>.<a href="../index.html#Encoding">Encoding</a> = &amp;xUserDefined</pre>
  297. <p>
  298. XUserDefined is the X-User-Defined encoding.
  299. </p>
  300. <p>
  301. It is defined at <a href="http://encoding.spec.whatwg.org/#x-user-defined">http://encoding.spec.whatwg.org/#x-user-defined</a>
  302. </p>
  303. <div id="footer">
  304. Build version go1.6.<br>
  305. Except as <a href="https://developers.google.com/site-policies#restrictions">noted</a>,
  306. the content of this page is licensed under the
  307. Creative Commons Attribution 3.0 License,
  308. and code is licensed under a <a href="http://localhost:6060/LICENSE">BSD license</a>.<br>
  309. <a href="http://localhost:6060/doc/tos.html">Terms of Service</a> |
  310. <a href="http://www.google.com/intl/en/policies/privacy/">Privacy Policy</a>
  311. </div>
  312. </div><!-- .container -->
  313. </div><!-- #page -->
  314. <!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
  315. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.js"></script>
  316. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.treeview.js"></script>
  317. <script type="text/javascript" src="../../../../../../lib/godoc/jquery.treeview.edit.js"></script>
  318. <script type="text/javascript" src="../../../../../../lib/godoc/godocs.js"></script>
  319. </body>
  320. </html>