autodoc.git
/
traditional_manual
/
chapter_9.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_9.html:2142:
<dt class='head--doc'>See also</dt> <dd class='body--doc'><p><code>Stdio.File()->read()</code>, <code>set_charset()</code>, <code>unread()</code></p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>set_charset</b></span> </dt>
-
<dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_charset</span>(</b><code class='datatype'>string</code> <code class='argument'>charset</code><b>)</b></code></p></dd>
+
<dd><p><code><code class='datatype'>void</code> <b><span class='method'>set_charset</span>(</b><code class='datatype'>string</code>
|<code
class='datatype'>void
<
/
code
>
<code
class='argument'>charset</code><b>)</b></code></p></dd>
<dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Sets the input and output charset of this file to the specified
-
<code>charset</code>.</p>
-
<p> The default charset is <tt>"ISO-8859-1"</tt>.</p>
+
<code>charset</code>.
If
<
code>charset<
/
code> is 0 or not specified the environment
+
is used to try to detect a suitable charset.</
p>
+
<p> The default charset
if this function
is
not called is
+
<tt>"ISO-8859-1"</tt>.</p>
</dd><dt class='head--fixme'>FIXME</dt> <dd class='body--fixme'><p>Consider using one of ISO-IR-196 (<tt>"\e%G"</tt> - switch to UTF-8 with return) or ISO-IR-190 (<tt>"\e%/G"</tt> - switch to UTF-8 level 1 no return) or ISO-IR-191 (<tt>"\e%/H"</tt> - switch to UTF-8 level 2 no return) or ISO-IR-192 (<tt>"\e%/I"</tt> - switch to UTF-8 level 3 no return) or ISO-IR-193 (<tt>"\e%/J"</tt> - switch to UTF-16 level 1 no return) or ISO-IR-194 (<tt>"\e%/K"</tt> - switch to UTF-16 level 2 no return) or ISO-IR-195 (<tt>"\e%/L"</tt> - switch to UTF-16 level 3 no return) or ISO-IR-162 (<tt>"\e%/@"</tt> - switch to UCS-2 level 1)