ition important">
<p class="first admonition-title">Important</p>
<p class="last">If you do set your output manually, it must be the last thing done
in the function you call it from. For example, if you build a page in one
of your controller methods, don&#8217;t set the output until the end.</p>
</div>
</dd></dl>

<dl class="method">
<dt id="CI_Output::set_content_type">
<tt class="descname">set_content_type</tt><big>(</big><em>$mime_type</em><span class="optional">[</span>, <em>$charset = NULL</em><span cl