<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xmldtp</author_name>
  <author_url>https://blog.hatena.ne.jp/xmldtp/</author_url>
  <blog_title>ウィリアムのいたずらの、まちあるき、たべあるきーPART2</blog_title>
  <blog_url>https://xmldtp.hatenadiary.org/</blog_url>
  <categories>
    <anon>ネットワーク</anon>
  </categories>
  <description>で、前の話のつづき。 やりたかったことは、 node.jsでISO-2022-JPのファイルを読み込み、中身をUTF-8に変換 でした。で、そのために書いたプログラウが、こちら。 var Iconv = require('iconv').Iconv; var iconv = new Iconv('ISO-2022-JP', 'UTF-8'); var fs = require('fs'); //File read fs.readFile('testiso.txt', function(err, content){ if(err){ console.error(err); } // from I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxmldtp.hatenadiary.org%2Fentry%2Fe8478d31c0292813dc7bf0c124077173&quot; title=&quot;node.jsでiconvを使って、ISO-2022-JPのファイルを読み込み、UTF-8に変換する - ウィリアムのいたずらの、まちあるき、たべあるきーPART2&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>2018-06-18 21:37:47</published>
  <title>node.jsでiconvを使って、ISO-2022-JPのファイルを読み込み、UTF-8に変換する</title>
  <type>rich</type>
  <url>https://xmldtp.hatenadiary.org/entry/e8478d31c0292813dc7bf0c124077173</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
