<p dir="auto">implement:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log(&quot;你好，世界&quot;)"><pre class="notranslate"><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"你好，世界"</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="浣犲ソ锛屼笘鐣?"><pre class="notranslate"><code class="notranslate">浣犲ソ锛屼笘鐣?
</code></pre></div>
<p dir="auto">Deno:1.21.2<br>
OS:Windows 11</p>
<p dir="auto">Hi! This is my first time looking at Deno, and it seems to be very exciting :)</p>
<p dir="auto">I was playing around with the examples from the tutorial and noticed this inconsistency: (using powershell and windows terminal):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; deno run https://deno.land/std/examples/welcome.ts
Welcome to Deno 🦕
&gt; deno run --allow-net https://deno.land/std/examples/curl.ts https://deno.land/std/examples/welcome.ts
console.log(&quot;Welcome to Deno ­ƒªò&quot;);"><pre class="notranslate"><code class="notranslate">&gt; deno run https://deno.land/std/examples/welcome.ts
Welcome to Deno 🦕
&gt; deno run --allow-net https://deno.land/std/examples/curl.ts https://deno.land/std/examples/welcome.ts
console.log("Welcome to Deno ­ƒªò");
</code></pre></div>
<p dir="auto">I found that editing <code class="notranslate">curl.ts</code> to add the line</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { decode } from &quot;https://deno.land/std/encoding/utf8.ts&quot;;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">decode</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/std/encoding/utf8.ts"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">and replacing the <code class="notranslate">Deno.stdout.write</code> line with</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="console.log(decode(body));"><pre class="notranslate"><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-en">decode</span><span class="pl-kos">(</span><span class="pl-s1">body</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">seems to make the downloaded file print out correctly.</p>