<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>日本語を扱うのに問題はないが、日本語を含むソースをコンパイルするとエラーになる。utf8-string パッケージのSystem.IO.UTF8を使えばOK。 module Main where import qualified System.IO.UTF8 as U main = do U.putStrLn &quot;あいうえお&quot; $ ghc --make japanese.hs [1 of 1] Compiling Main ( japanese.hs, japanese.o ) Linking japanese ... $ ls japanese* japanese japanese.hi ja…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090501%2F1241154627&quot; title=&quot;日本語を含むソースをコンパイル - sirocco の書いてもすぐに忘れるメモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-05-01 14:10:27</published>
  <title>日本語を含むソースをコンパイル</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20090501/1241154627</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
