<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunichiIto</author_name>
  <author_url>https://blog.hatena.ne.jp/JunichiIto/</author_url>
  <blog_title>give IT a try</blog_title>
  <blog_url>https://blog.jnito.com/</blog_url>
  <categories>
    <anon>サンプルコード</anon>
  </categories>
  <description>自分の作業メモです。 テキストファイルの文字コードを定期的に変更する必要があったので、スクリプトを書くことになりました。 変換元はUTF-8、変換先はShift_JISです。 最近Perlに慣れてきたので、最初はPerlで書いてみました。 use Encode; open my $r, '&lt;:encoding(UTF-8)', 'utf8.txt'; open my $w, '&gt;:encoding(cp932)', 'sjis.txt'; while(my $d = &lt;$r&gt;) { print $w $d; } close $w; close $r; exit; 確かどこかのサイトで拾ってきた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jnito.com%2Fentry%2F20111107%2F1320636165&quot; title=&quot;PerlとVBScriptでテキストファイルの文字コードを変換する - give IT a try&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>2011-11-07 12:22:45</published>
  <title>PerlとVBScriptでテキストファイルの文字コードを変換する</title>
  <type>rich</type>
  <url>https://blog.jnito.com/entry/20111107/1320636165</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
