/docs/symbols/DecafMUD.plugins.Encoding.iso88591.html
HTML | 303 lines | 167 code | 116 blank | 20 comment | 0 complexity | 3b777c45f1287ccec1908b9a2334b40f MD5 | raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="generator" content="JsDoc Toolkit" />
-
- <title>DecafMUD Reference - DecafMUD.plugins.Encoding.iso88591</title>
- <link href="../css/default.css" type="text/css" rel="stylesheet" media="all" />
- <link href="../css/shCoreDefault.css" type="text/css" rel="stylesheet" media="all" />
- <link href="../css/shThemeDefault.css" type="text/css" rel="stylesheet" media="all" />
- <link href="../img/favicon.ico" rel="shortcut icon" />
- <script type="text/javascript" src="../js/shCore.js"></script>
- <script type="text/javascript" src="../js/shBrushJScript.js"></script>
- </head>
- <body>
- <div id="header">
- <h1><a href="http://decafmud.kicks-ass.net/">DecafMUD</a></h1>
- <p class="paren">{</p>
- <p>HTML + CSS + JavaScript</p>
- <p class="paren last-paren">}</p>
- <p>keep Java away from your browser</p>
- <div style="clear:both"></div>
- </div>
- <div class="index">
- <div class="menu">
- <!-- begin publish.classesIndex -->
- <div align="center"><a href="../index.html">Class Index</a> | <a href="../files.html">File Index</a></div>
- <h2 class="heading1">Classes</h2>
- <ul class="classList">
- <li class="namespace builtin"><a href="../symbols/_global_.html">_global_</a></li><li class="class"><a href="../symbols/DecafMUD.html">DecafMUD</a></li><li class="namespace"> <a href="../symbols/DecafMUD.plugins.html">.plugins</a></li><li class="nolink"> .Display</li><li class="class"> <a href="../symbols/DecafMUD.plugins.Display.standard.html">.standard</a></li><li class="nolink"> .Encoding</li><li class="namespace"> <a href="../symbols/DecafMUD.plugins.Encoding.cp437.html">.cp437</a></li><li class="namespace"> <a href="../symbols/DecafMUD.plugins.Encoding.iso88591.html">.iso88591</a></li><li class="namespace"> <a href="../symbols/DecafMUD.plugins.Encoding.iso885915.html">.iso885915</a></li><li class="namespace"> <a href="../symbols/DecafMUD.plugins.Encoding.utf8.html">.utf8</a></li><li class="nolink"> .Interface</li><li class="class"> <a href="../symbols/DecafMUD.plugins.Interface.simple.html">.simple</a></li><li class="nolink"> .Socket</li><li class="class"> <a href="../symbols/DecafMUD.plugins.Socket.websocket.html">.websocket</a></li><li class="nolink"> .Storage</li><li class="class"> <a href="../symbols/DecafMUD.plugins.Storage.standard.html">.standard</a></li><li class="nolink"> .Telopt</li><li class="class"> DecafMUD.plugins.Telopt.]</li><li class="class"> DecafMUD.plugins.Telopt.�</li><li class="namespace builtin"><a href="../symbols/String.html">String</a></li>
- </ul>
- <!-- end publish.classesIndex -->
- </div>
-
- <div class="fineprint" style="clear:both">
-
- Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0<br />
- HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview</a><br />
- <a href="http://decafmud.kicks-ass.net/">DecafMUD</a> © 2010 Stendec
- </div>
- </div>
-
- <div class="content">
- <div class="innerContent">
- <h1 class="classTitle">
-
- Namespace <span>DecafMUD.plugins.Encoding.iso88591</span>
- </h1>
- <p class="description summary">
-
-
-
-
- DecafMUD Character Encoding: iso-8859-1
-
-
- <br /><em>Defined in: </em> <a href="../symbols/src/_mud_decafmud_src_js_decafmud.js.html">decafmud.js</a>.
-
- </p>
-
- <div class="props">
- <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class DecafMUD.plugins.Encoding.iso88591.">
- <caption>Namespace Summary</caption>
- <thead>
- <tr>
- <th scope="col">Constructor Attributes</th>
- <th scope="col">Constructor Name and Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="attributes"> </td>
- <td class="nameDescription" >
- <div class="fixedFont">
- <b><a href="../symbols/DecafMUD.plugins.Encoding.iso88591.html#constructor">DecafMUD.plugins.Encoding.iso88591</a></b>
- </div>
- <div class="description">This provides support for iso-8859-1 encoded data to DecafMUD, which isn't saying much as you realize that iso-8859-1 is simple, unencoded binary strings.</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
-
-
- <!--
- #### METHODS SUMMARY
- -->
-
-
-
- <div class="props">
- <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class DecafMUD.plugins.Encoding.iso88591.">
- <caption>Method Summary</caption>
-
- <thead>
- <tr>
- <th scope="col">Method Attributes</th>
- <th scope="col">Method Name and Description</th>
- </tr>
- </thead>
-
- <tbody>
-
- <tr>
- <td class="attributes"><static> </td>
- <td class="nameDescription">
- <div class="fixedFont">DecafMUD.plugins.Encoding.iso88591.<b><a href="../symbols/DecafMUD.plugins.Encoding.iso88591.html#s.decode">decode</a></b>(data)
- </div>
- <div class="description">Convert iso-8859-1 encoded text to unicode, by doing nothing.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> </td>
- <td class="nameDescription">
- <div class="fixedFont">DecafMUD.plugins.Encoding.iso88591.<b><a href="../symbols/DecafMUD.plugins.Encoding.iso88591.html#s.encode">encode</a></b>(data)
- </div>
- <div class="description">Convert unicode characters to iso-8859-1 encoded text, by doing nothing.</div>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
-
-
-
-
-
- <!--
- #### EVENTS SUMMARY
- -->
-
- <!--
- #### CONSTRUCTOR DETAILS
- -->
-
- <div class="details props">
- <div class="innerProps">
- <a name="constructor"></a>
-
- <div class="sectionTitle">
- Namespace Detail
- </div>
-
- <div class="fixedFont">
- <b>DecafMUD.plugins.Encoding.iso88591</b>
- </div>
-
- <div class="description">
- This provides support for iso-8859-1 encoded data to DecafMUD, which isn't
- saying much as you realize that iso-8859-1 is simple, unencoded binary
- strings. We just have this so that the encoding system can work with a
- default encoder.
-
- </div>
-
-
-
- <pre class="brush: js; toolbar: false">alert(DecafMUD.plugins.Encoding.iso88591.decode("This is some text!"));</pre>
-
-
-
-
-
-
- </div>
- </div>
-
- <!--
- #### FIELD DETAILS
- -->
-
- <!--
- #### METHOD DETAILS
- -->
-
- <div class="details props">
- <div class="innerProps">
- <div class="sectionTitle">
- Method Detail
- </div>
-
-
- <a name="s.decode"></a>
-
- <div class="fixedFont heading">
-
- <span class='lighter'>
- <static>
- </span>
-
-
-
-
- <span class="light">DecafMUD.plugins.Encoding.iso88591.</span><b>decode</b>(data)
- </div>
-
- <div class="description">
- Convert iso-8859-1 encoded text to unicode, by doing nothing.
-
-
-
-
- </div>
-
-
-
- <pre class="brush: js; toolbar: false">DecafMUD.plugins.Encoding.iso88591.decode("\xE2\x96\x93");
- // Becomes: "\xE2\x96\x93"</pre>
-
-
-
-
- <dl class="detailList params">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>data</b>
-
- </dt>
- <dd>The text to decode.</dd>
-
- </dl>
-
-
-
- <div class="hr"></div>
-
- <a name="s.encode"></a>
-
- <div class="fixedFont heading">
-
- <span class='lighter'>
- <static>
- </span>
-
-
-
-
- <span class="light">DecafMUD.plugins.Encoding.iso88591.</span><b>encode</b>(data)
- </div>
-
- <div class="description">
- Convert unicode characters to iso-8859-1 encoded text, by doing
- nothing. Should probably add some sanity checks in later, but I
- don't really care for now.
-
-
-
-
- </div>
-
-
-
- <pre class="brush: js; toolbar: false">DecafMUD.plugins.Encoding.iso88591.encode("\xE2\x96\x93");
- // Becomes: "\xE2\x96\x93"</pre>
-
-
-
-
- <dl class="detailList params">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>data</b>
-
- </dt>
- <dd>The text to encode.</dd>
-
- </dl>
-
-
-
-
-
- </div>
- </div>
-
-
- <!--
- #### EVENT DETAILS
- -->
-
- </div>
- </div>
- <script type="text/javascript">SyntaxHighlighter.all()</script>
- </body>
- </html>