r><br>

<pre class="d_code">wstring ws;
transcode(<font color=red>"hello world"</font>,ws);
    <font color=green>// transcode from UTF-8 to UTF-16
</font></pre>

<br><br>
<b>Example:</b><br>
<pre class="d_code"><font color=blue>import</font> std.stdio;   <font color=green>//&amp;
</font>writeln(<font color=red>"Hello world!"</font>);
<font color=blue>if</font> (test) {
  writefln(<font color=red>"D programming language"</font>);
}

    algorithm;

xxx;    <font color=green>//comment
</font>    yyy;
<font c