<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aike</author_name>
  <author_url>https://blog.hatena.ne.jp/aike/</author_url>
  <blog_title>aike’s blog</blog_title>
  <blog_url>https://aike.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>公式配布のMinGW版Gaucheは内部エンコーディングがUTF-8としてビルドされている。OSやロケールに依存しないという点でUTF-8は扱いやすいんだけど、WindowsのコマンドプロンプトはSJISを前提としているため以下のシンプルなプログラムでも文字化けしてしまう。 (print &quot;こんにちは、世界&quot;) 解決方法としてはコマンドプロンプトをUTF-8にする方法がある。ただ、これをやるとこんどは日本語入力がしづらくなってしまう。というわけで、プログラム側でSJISに変換して出力するようにしてみた。 sjis.scm (use gauche.charconv) (define-macro …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faike.hatenablog.com%2Fentry%2F20081203&quot; title=&quot;Gauche練習帳 文字コード変換 - aike’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/aike/20081204/20081204010020.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-03 00:00:00</published>
  <title>Gauche練習帳 文字コード変換</title>
  <type>rich</type>
  <url>https://aike.hatenablog.com/entry/20081203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
