<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zyxwv</author_name>
  <author_url>https://blog.hatena.ne.jp/zyxwv/</author_url>
  <blog_title>zyxwvの日記</blog_title>
  <blog_url>https://zyxwv.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>Haskellの文字コードうんぬんでもめてましたが、そのプログラム専用の形式でいいのならなんら問題なかったです。 文字列にshow関数をかますとちゃんとエスケープしてくれ、今度はそれをread関数にかますと、あたりまえだけどきちんと(日本語に)戻してくれます。なので、日本語を含んだ文字列を出力するときはそのままwriteFileせずに、 writeFile path $ show string としてやればいいのです。上の方法でファイルに書き込んだデータは、 readFile path &gt;&gt;= return.read で、きちんと読み込むことができます。(上のコードは思い出して適当に書いてるん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzyxwv.hatenadiary.org%2Fentry%2F20070223%2F1172807185&quot; title=&quot;Haskellと日本語 - zyxwvの日記&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>2007-02-23 12:46:25</published>
  <title>Haskellと日本語</title>
  <type>rich</type>
  <url>https://zyxwv.hatenadiary.org/entry/20070223/1172807185</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
