<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Rdf_uri.html"> <link rel="next" href="Rdf_xml.html"> <link rel="Up" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Rdf_config" rel="Chapter" href="Rdf_config.html"> <link title="Rdf_dot" rel="Chapter" href="Rdf_dot.html"> <link title="Rdf_graph" rel="Chapter" href="Rdf_graph.html"> <link title="Rdf_mem" rel="Chapter" href="Rdf_mem.html"> <link title="Rdf_misc" rel="Chapter" href="Rdf_misc.html"> <link title="Rdf_my" rel="Chapter" href="Rdf_my.html"> <link title="Rdf_node" rel="Chapter" href="Rdf_node.html"> <link title="Rdf_pg" rel="Chapter" href="Rdf_pg.html"> <link title="Rdf_rdf" rel="Chapter" href="Rdf_rdf.html"> <link title="Rdf_uri" rel="Chapter" href="Rdf_uri.html"> <link title="Rdf_utf8" rel="Chapter" href="Rdf_utf8.html"> <link title="Rdf_xml" rel="Chapter" href="Rdf_xml.html"><title>OCaml-RDF : Rdf_utf8</title> </head> <body> <div class="navbar"><a class="pre" href="Rdf_uri.html" title="Rdf_uri">Previous</a> <a class="up" href="index.html" title="Index">Up</a> <a class="post" href="Rdf_xml.html" title="Rdf_xml">Next</a> </div> <h1>Module <a href="type_Rdf_utf8.html">Rdf_utf8</a></h1> <pre><span class="keyword">module</span> Rdf_utf8: <code class="code">sig</code> <a href="Rdf_utf8.html">..</a> <code class="code">end</code></pre><div class="info"> </div> <hr width="100%"> <pre><span id="VALutf8_nb_bytes_of_char"><span class="keyword">val</span> utf8_nb_bytes_of_char</span> : <code class="type">char -> int</code></pre><pre><span id="VALutf8_index_of_char"><span class="keyword">val</span> utf8_index_of_char</span> : <code class="type">string -> int -> int</code></pre><pre><span id="VALutf8_char_of_index"><span class="keyword">val</span> utf8_char_of_index</span> : <code class="type">string -> int -> int</code></pre><pre><span id="VALutf8_string_length"><span class="keyword">val</span> utf8_string_length</span> : <code class="type">string -> int</code></pre><pre><span id="VALutf8_char_of_code"><span class="keyword">val</span> utf8_char_of_code</span> : <code class="type">int -> string</code></pre><div class="info"> conversions algorithm from <code class="code">http://en.wikipedia.org/wiki/UTF-8</code>.<br> </div> </body></html>