Commit 17ac888a authored by Gábor Melis's avatar Gábor Melis
Browse files

generate html docs

parent 99770fec
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Trivial UTF-8</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
</head>
<body>
<div class="header">
<h1>Trivial UTF-8</h1>
</div>
<p>Trivial UTF-8 is a small library for doing UTF-8-based in- and
output <em>on a Lisp implementation that already supports Unicode</em>
-- meaning <tt>char-code</tt> and <tt>code-char</tt> deal with Unicode
character codes.</p>
<p>The rationale for the existence of this library is that while
Unicode-enabled implementations usually do provide some kind of
interface to dealing with character encodings, these are typically not
terribly flexible or uniform.</p>
<p>The <a href="http://common-lisp.net/project/babel/">Babel</a>
library solves a similar problem while understanding more encodings.
Trivial UTF-8 was written before Babel existed, but for new projects
you might be better off going with Babel. The one plus that Trivial
UTF-8 has is that it doesn't depend on any other libraries.</p>
<h2>Download and installation</h2>
<p>Trivial-utf-8 is released under a BSD-style license (see source
file). The latest release can be downloaded from <a
href="http://common-lisp.net/project/trivial-utf-8/trivial-utf-8.tgz">http://common-lisp.net/project/trivial-utf-8/trivial-utf-8.tgz</a>,
or installed with <a
href="http://www.cliki.net/ASDF-Install">asdf-install</a>.</p>
<p>A <a href="http://www.darcs.net/">darcs</a> repository with the most recent changes can be checked out with:</p>
<pre>&gt; darcs get http://common-lisp.net/project/trivial-utf-8/darcs/trivial-utf-8</pre>
<p>Or look at it <a
href="http://common-lisp.net/cgi-bin/darcsweb/darcsweb.cgi?r=trivial-utf-8-trivial-utf-8;a=summary">online</a>.</p>
<h2>Support and mailing lists</h2>
<p>The <a href="http://common-lisp.net/mailman/listinfo/trivial-utf-8-devel">trivial-utf-8-devel</a> mailing list can be used for any questions, discussion, bug-reports, patches, or anything else relating to this library. Or mail the author/maintainer directly: <a href="mailto:marijnh@gmail.com">Marijn Haverbeke</a>.</p>
<h2>Reference</h2>
<p class="def">function <tt>string-to-utf-8-bytes</tt> (string) => array of (unsigned-byte 8)</p>
<p class="desc">Convert a string into an array of unsigned bytes containing its
utf-8 representation.</p>
<p class="def">function <tt>utf-8-bytes-to-string</tt> (bytes) => string</p>
<p class="desc">Convert a byte array containing utf-8 encoded characters into the
string it encodes.</p>
<p class="def">function <tt>write-utf-8-bytes</tt> (string output &amp;key null-terminate)</p>
<p class="desc">Write a string to a byte-stream, encoding it as utf-8.</p>
<p class="def">function <tt>read-utf-8-string</tt> (input &amp;key null-terminated stop-at-eof char-length byte-length)</p>
<p class="desc">Read utf-8 encoded data from a byte stream and
construct a string with the characters found. When
<code>null-terminated</code> is given it will stop reading at a null
character, <code>stop-at-eof</code> tells it to stop at the end of
file without raising an error, and the <code>char-length</code> and
<code>byte-length</code> parameters can be used to specify the maximum
amount of characters or bytes to read.</p>
<p class="def">function <tt>utf-8-byte-length</tt> (string) => integer</p>
<p class="desc">Calculate the amount of bytes needed to encode a string.</p>
<p class="def">function <tt>utf-8-group-size</tt> (byte) => integer</p>
<p class="desc">Determine the amount of bytes that are part of the character
starting with a given byte.</p>
<p class="def">condition <tt>utf-8-decoding-error</tt></p>
<p class="desc">A condition of this type is raised whenever an incorrectly encoded
character is encountered.</p>
<hr/>
<p>Back to <a href="http://common-lisp.net/">Common-lisp.net</a>.</p>
<div class="check">
<a href="http://validator.w3.org/check/referer">Valid XHTML 1.0 Strict</a>
</div>
</body>
</html>
trivial-utf-8-manual.html
\ No newline at end of file
This diff is collapsed.
body {
max-width: 800px;
margin: .5em auto;
font-family: sans-serif;
margin: auto;
background-color: #FFFEFB;
color: #000000;
}
.header {
font-size: medium;
background-color:#336699;
color:#ffffff;
border-style:solid;
border-width: 5px;
border-color:#002244;
padding: 1mm 1mm 1mm 5mm;
h1, h2, h3, h4, h5, h6 {
font-family: serif;
font-weight: bold;
text-shadow: 0.05em 0.05em 0.02em #DDDDDD;
}
h1 a {
border-bottom: none;
}
h2 a {
border-bottom: none;
}
h3 a {
border-bottom: none;
}
h4 a {
border-bottom: none;
}
h5 a {
border-bottom: none;
}
h1 {
font-size: 250%
}
h2 {
border-bottom: 0.05em solid #CCCCCC;
font-size: 200%;
}
h3 {
font-size: 150%;
}
.footer {
font-size: small;
font-style: italic;
text-align: right;
background-color:#336699;
color:#ffffff;
border-style:solid;
border-width: 2px;
border-color:#002244;
padding: 1mm 1mm 1mm 1mm;
h4 {
font-size: 130%;
}
.footer a:link {
font-weight:bold;
color:#ffffff;
text-decoration:underline;
h5 {
font-size: 110%;
margin-top: 0.75em;
margin-bottom: 0.5em;
}
.footer a:visited {
font-weight:bold;
color:#ffffff;
text-decoration:underline;
h6 {
color: #777777;
background-color: inherit;
font-size: 100%;
}
.footer a:hover {
font-weight:bold;
color:#002244;
text-decoration:underline; }
hr {
height: 0.2em;
border: 0;
color: #CCCCCC;
background-color: #CCCCCC;
}
.check {font-size: x-small;
text-align:right;}
p, blockquote, table, pre {
line-height: 1.5;
margin: 0.5em 0 0 0;
}
.check a:link { font-weight:bold;
color:#a0a0ff;
text-decoration:underline; }
ul, ol, dl {
padding-left: 1.1em;
list-style-position: outside;
/* margin: 0; */
}
.check a:visited { font-weight:bold;
color:#a0a0ff;
text-decoration:underline; }
li {
line-height: 1.5;
margin: 0 0 0 0;
}
.check a:hover { font-weight:bold;
color:#000000;
text-decoration:underline; }
pre {
background-color: #F5F3ED;
color: #000000;
border: 0.1em solid #CCCCCC;
line-height: 1.25em;
overflow: auto;
margin: 0.5em 0 0 0;
padding: 0.2em;
}
tt {
font-size: 1.3em;
pre > code {
color: #222222;
}
code {
color: #222222;
}
a {
color: #222222;
text-decoration: none;
border-bottom: 1px solid;
}
h6 a {
color: #777777;
}
a:hover {
/* text-decoration: none; */
}
.reference-bullet {
}
.reference {
/* padding: 0.3em 0; */
/* background-color: #EEEEEE; */
}
.locative-type a {
text-decoration: none;
border-bottom: 0;
font-weight: bold;
}
.def {
margin-top: 1.5em;
font-family: tahoma, arial, sans-serif;
.reference-object {
background-color: #EBE8E2;
padding: 0.1em;
border: solid 1px;
font-weight: bold;
}
.desc {
padding-left: .6em;
.reference-object a {
border-bottom: none;
}
h2 {
font-size: 14pt;
.locative-args {
font-style: italic;
}
.locative-args code {
font-family: sans-serif;
}
.navigation a {
color: #CCCCCC;
text-shadow: none;
border-bottom: none;
}
/* Option 1 for navigation links: just hide the links in the previous
line. Good because there is no jumping around of content as with
the other otptions. */
.navigation {
display: block;
visibility: hidden;
margin-bottom: -1.5em;
}
.outer-navigation:hover .navigation {
visibility: visible;
}
/* Option 2 for navigation links: heading moves right to make room for
the links. */
/* .navigation { */
/* display: none; */
/* } */
/* */
/* h1:hover .navigation, */
/* h2:hover .navigation, */
/* h3:hover .navigation, */
/* h4:hover .navigation, */
/* h5:hover .navigation, */
/* h6:hover .navigation { */
/* display: inline; */
/* } */
/* Option 3 for navigation links: heading moves down to make room for
the links. */
/* .navigation { */
/* display: none; */
/* } */
/* */
/* h1:hover .navigation, */
/* h2:hover .navigation, */
/* h3:hover .navigation, */
/* h4:hover .navigation, */
/* h5:hover .navigation, */
/* h6:hover .navigation { */
/* display: block; */
/* } */
/* Syntax highlighting with Colorize */
.symbol { color : #770055; background-color : transparent; border: 0px; margin: 0px;}
a.symbol:link { color : #229955; background-color : transparent; text-decoration: none; border: 0px; margin: 0px; }
a.symbol:active { color : #229955; background-color : transparent; text-decoration: none; border: 0px; margin: 0px; }
a.symbol:visited { color : #229955; background-color : transparent; text-decoration: none; border: 0px; margin: 0px; }
a.symbol:hover { color : #229955; background-color : transparent; text-decoration: none; border: 0px; margin: 0px; }
.special { color : #FF5000; background-color : inherit; }
.keyword { color : #770000; background-color : inherit; }
.comment { color : #007777; background-color : inherit; }
.string { color : #777777; background-color : inherit; }
.atom { color : #314F4F; background-color : inherit; }
.macro { color : #FF5000; background-color : inherit; }
.variable { color : #36648B; background-color : inherit; }
.function { color : #8B4789; background-color : inherit; }
.attribute { color : #FF5000; background-color : inherit; }
.character { color : #0055AA; background-color : inherit; }
.syntaxerror { color : #FF0000; background-color : inherit; }
.diff-deleted { color : #5F2121; background-color : inherit; }
.diff-added { color : #215F21; background-color : inherit; }
/* Disable rainbow nesting on hover */
/* span.paren1 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren1:hover { color : inherit; background-color : #BAFFFF; } */
/* span.paren2 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren2:hover { color : inherit; background-color : #FFCACA; } */
/* span.paren3 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren3:hover { color : inherit; background-color : #FFFFBA; } */
/* span.paren4 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren4:hover { color : inherit; background-color : #CACAFF; } */
/* span.paren5 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren5:hover { color : inherit; background-color : #CAFFCA; } */
/* span.paren6 { background-color : inherit; -webkit-transition: background-color 0.2s linear; } */
/* span.paren6:hover { color : inherit; background-color : #FFBAFF; } */
#content-container
{
margin: 0;
padding: 0;
}
#content
{
margin-left: 40ex;
padding-left: 2.5em;
max-width: 85ex;
}
#toc {
top: 0px;
left: 0px;
height: 100%;
width: 40ex;
max-width: 33%;
position: fixed;
overflow-y:auto;
overflow-x:hidden;
background: #333;
box-shadow: inset -5px 0 5px 0px #000;
color: #aaa;
}
#toc ul {
font-size: 80%;
}
#toc li {
line-height: 1.0;
}
#toc a {
border-bottom: none;
}
#toc hr {
height: 0.05em;
border: 0;
background: #777;
}
#toc ul {
margin: 0;
padding: 0;
list-style: none;
}
#toc li {
padding: 5px 10px;
}
#toc .toc-h2 {
padding-left: 10px;
}
#toc .toc-h3 {
padding-left: 20px;
}
#toc .toc-h4 {
padding-left: 30px;
}
#toc .toc-active {
background: #336699;
box-shadow: inset -5px 0px 10px -5px #000;
}
#page-toc a {
color: #fff;
}
.menu-block {
padding-left: 10px;
margin-bottom: 1em;
}
.menu-block-title {
font-size: 90%;
}
.menu-block a {
color: #fff;
border-bottom: none;
}
#toc-header a {
color: #777777;
}
#toc-footer a {
font-size: 80%;
color: #777777;
}
/*!
* toc - jQuery Table of Contents Plugin
* v0.3.2
* http://projects.jga.me/toc/
* copyright Greg Allen 2014
* MIT License
*/
!function(a){a.fn.smoothScroller=function(b){b=a.extend({},a.fn.smoothScroller.defaults,b);var c=a(this);return a(b.scrollEl).animate({scrollTop:c.offset().top-a(b.scrollEl).offset().top-b.offset},b.speed,b.ease,function(){var a=c.attr("id");a.length&&(history.pushState?history.pushState(null,null,"#"+a):document.location.hash=a),c.trigger("smoothScrollerComplete")}),this},a.fn.smoothScroller.defaults={speed:400,ease:"swing",scrollEl:"body,html",offset:0},a("body").on("click","[data-smoothscroller]",function(b){b.preventDefault();var c=a(this).attr("href");0===c.indexOf("#")&&a(c).smoothScroller()})}(jQuery),function(a){var b={};a.fn.toc=function(b){var c,d=this,e=a.extend({},jQuery.fn.toc.defaults,b),f=a(e.container),g=a(e.selectors,f),h=[],i=e.activeClass,j=function(b,c){if(e.smoothScrolling&&"function"==typeof e.smoothScrolling){b.preventDefault();var f=a(b.target).attr("href");e.smoothScrolling(f,e,c)}a("li",d).removeClass(i),a(b.target).parent().addClass(i)},k=function(){c&&clearTimeout(c),c=setTimeout(function(){for(var b,c=a(window).scrollTop(),f=Number.MAX_VALUE,g=0,j=0,k=h.length;k>j;j++){var l=Math.abs(h[j]-c);f>l&&(g=j,f=l)}a("li",d).removeClass(i),b=a("li:eq("+g+")",d).addClass(i),e.onHighlight(b)},50)};return e.highlightOnScroll&&(a(window).bind("scroll",k),k()),this.each(function(){var b=a(this),c=a(e.listType);g.each(function(d,f){var g=a(f);h.push(g.offset().top-e.highlightOffset);var i=e.anchorName(d,f,e.prefix);if(f.id!==i){a("<span/>").attr("id",i).insertBefore(g)}var l=a("<a/>").text(e.headerText(d,f,g)).attr("href","#"+i).bind("click",function(c){a(window).unbind("scroll",k),j(c,function(){a(window).bind("scroll",k)}),b.trigger("selected",a(this).attr("href"))}),m=a("<li/>").addClass(e.itemClass(d,f,g,e.prefix)).append(l);c.append(m)}),b.html(c)})},jQuery.fn.toc.defaults={container:"body",listType:"<ul/>",selectors:"h1,h2,h3",smoothScrolling:function(b,c,d){a(b).smoothScroller({offset:c.scrollToOffset}).on("smoothScrollerComplete",function(){d()})},scrollToOffset:0,prefix:"toc",activeClass:"toc-active",onHighlight:function(){},highlightOnScroll:!0,highlightOffset:100,anchorName:function(c,d,e){if(d.id.length)return d.id;var f=a(d).text().replace(/[^a-z0-9]/gi," ").replace(/\s+/g,"-").toLowerCase();if(b[f]){for(var g=2;b[f+g];)g++;f=f+"-"+g}return b[f]=!0,e+"-"+f},headerText:function(a,b,c){return c.text()},itemClass:function(a,b,c,d){return d+"-"+c[0].tagName.toLowerCase()}}}(jQuery);
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<title>Trivial UTF-8 Manual</title>
<link type='text/css' href='style.css' rel='stylesheet'/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script src="jquery.min.js"></script>
<script src="toc.min.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$']],
processEscapes: true
}
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML">
</script>
</head>
<body>
<div id="content-container">
<div id="toc">
<div id="page-toc">
</div>
<div id="toc-footer"><ul><li><a href="https://github.com/melisgl/mgl-pax">[generated by MGL-PAX]</a></li></ul></div>
</div>
<div id="content">
<p><a id='x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29'></a></p>
<p><span class="outer-navigation"><span class="navigation"> <a href="#x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29" title="(#A((13) BASE-CHAR . \&quot;trivial-utf-8\&quot;) ASDF/SYSTEM:SYSTEM)">&#8594;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8634;</a> <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/doc.lisp#L7">&#955;</a></span></span></p>
<h1><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29">Trivial UTF-8 Manual</a></h1>
<h2>Table of Contents</h2>
<ul>
<li><a href="#x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29" title="(#A((13) BASE-CHAR . \&quot;trivial-utf-8\&quot;) ASDF/SYSTEM:SYSTEM)">1 trivial-utf-8 ASDF System Details</a></li>
<li><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29" title="Introduction">2 Introduction</a></li>
<li><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29" title="Links">3 Links</a></li>
<li><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-REFERENCE-20MGL-PAX-3ASECTION-29" title="Reference">4 Reference</a></li>
</ul>
<h6>[in package TRIVIAL-UTF-8]</h6>
<p><a id='x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29'></a></p>
<p><span class="outer-navigation"><span class="navigation"> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8592;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8593;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29" title="Introduction">&#8594;</a> <a href="#x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29" title="(#A((13) BASE-CHAR . \&quot;trivial-utf-8\&quot;) ASDF/SYSTEM:SYSTEM)">&#8634;</a> <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/trivial-utf-8.asd#L1">&#955;</a></span></span></p>
<h2><a href="#x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29">1 trivial-utf-8 ASDF System Details</a></h2>
<ul>
<li>Description: A small library for doing UTF-8-based input and output.</li>
<li>Licence: ZLIB</li>
<li>Author: Marijn Haverbeke <a href="m&#x61;&#105;l&#x74;&#111;:&#x6D;&#97;r&#x69;&#106;n&#x68;&#64;g&#x6D;&#97;i&#x6C;&#46;c&#x6F;&#109;">m&#x61;&#105;l&#x74;&#111;:&#x6D;&#97;r&#x69;&#106;n&#x68;&#64;g&#x6D;&#97;i&#x6C;&#46;c&#x6F;&#109;</a></li>
<li>Maintainer: Gábor Melis <a href="m&#x61;&#105;l&#x74;&#111;:&#x6D;&#101;g&#x61;&#64;r&#x65;&#116;e&#x73;&#46;h&#x75;">m&#x61;&#105;l&#x74;&#111;:&#x6D;&#101;g&#x61;&#64;r&#x65;&#116;e&#x73;&#46;h&#x75;</a></li>
<li>Homepage: <a href="https://common-lisp.net/project/trivial-utf-8/" >https://common-lisp.net/project/trivial-utf-8/</a></li>
<li>Bug tracker: <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-/issues" >https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-/issues</a></li>
<li>Source control: <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8.git" >GIT</a></li>
</ul>
<p><a id='x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29'></a></p>
<p><span class="outer-navigation"><span class="navigation"> <a href="#x-28-23A-28-2813-29-20BASE-CHAR-20-2E-20-22trivial-utf-8-22-29-20ASDF-2FSYSTEM-3ASYSTEM-29" title="(#A((13) BASE-CHAR . \&quot;trivial-utf-8\&quot;) ASDF/SYSTEM:SYSTEM)">&#8592;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8593;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29" title="Links">&#8594;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29" title="Introduction">&#8634;</a> <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/doc.lisp#L13">&#955;</a></span></span></p>
<h2><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29">2 Introduction</a></h2>
<p>Trivial UTF-8 is a small library for doing UTF-8-based in- and
output on a Lisp implementation that already supports Unicode -
meaning <code>CHAR-CODE</code> and <code>CODE-CHAR</code> deal with Unicode character codes.</p>
<p>The rationale for the existence of this library is that while
Unicode-enabled implementations usually do provide some kind of
interface to dealing with character encodings, these are typically
not terribly flexible or uniform.</p>
<p>The <a href="https://common-lisp.net/project/babel/" >Babel</a> library solves a similar problem while
understanding more encodings. Trivial UTF-8 was written before Babel
existed, but for new projects you might be better off going with
Babel. The one plus that Trivial UTF-8 has is that it doesn't depend
on any other libraries.</p>
<p><a id='x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29'></a></p>
<p><span class="outer-navigation"><span class="navigation"> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-INTRODUCTION-20MGL-PAX-3ASECTION-29" title="Introduction">&#8592;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8593;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-REFERENCE-20MGL-PAX-3ASECTION-29" title="Reference">&#8594;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29" title="Links">&#8634;</a> <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/doc.lisp#L31">&#955;</a></span></span></p>
<h2><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29">3 Links</a></h2>
<p>Here is the <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8" >official repository</a> and the
<a href="http://melisgl.github.io/mgl-pax-world/trivial-utf-8-manual.html" >HTML documentation</a> for the latest version.</p>
<p><a id='x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-REFERENCE-20MGL-PAX-3ASECTION-29'></a></p>
<p><span class="outer-navigation"><span class="navigation"> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-LINKS-20MGL-PAX-3ASECTION-29" title="Links">&#8592;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-MANUAL-20MGL-PAX-3ASECTION-29" title="Trivial UTF-8 Manual">&#8593;</a> <a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-REFERENCE-20MGL-PAX-3ASECTION-29" title="Reference">&#8634;</a> <a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/doc.lisp#L38">&#955;</a></span></span></p>
<h2><a href="#x-28TRIVIAL-UTF-8-3A-40TRIVIAL-UTF-8-REFERENCE-20MGL-PAX-3ASECTION-29">4 Reference</a></h2>
<p><a id='x-28TRIVIAL-UTF-8-3AUTF-8-BYTE-LENGTH-20FUNCTION-29'></a></p>
<ul>
<li><p><span class=reference-bullet><span class=reference><span class="locative-type"><a href="https://gitlab.common-lisp.net/trivial-utf-8/trivial-utf-8/-//blob/99770fec83d612cbda1141f0fe04f1c95d9cf043/trivial-utf-8.lisp#L31">[function]</a></span> <span class="reference-object"><a href="#x-28TRIVIAL-UTF-8-3AUTF-8-BYTE-LENGTH-20FUNCTION-29" >UTF-8-BYTE-LENGTH</a></span></span> <span class="locative-args">STRING</span></span></p>
<p>Calculate the amount of bytes needed to encode <code>STRING</code>.</p></li>
</ul>
<p><a id='x-28TRIVIAL-UTF-8-3ASTRING-TO-UTF-8-BYTES-20FUNCTION-29'></a></p>
<ul>