<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b1u3</author_name>
  <author_url>https://blog.hatena.ne.jp/b1u3/</author_url>
  <blog_title>いろんなことで四苦Hack（仮）</blog_title>
  <blog_url>https://b1u3.hateblo.jp/</blog_url>
  <categories>
    <anon>自作デバイス</anon>
  </categories>
  <description>vim上で変更する方法は知っていたけど、コマンドライン上では知らなかったので。 環境は os x。linux上でも多分同じ。 iconvというコマンドを使う。 % iconv -f cp932 -t utf-8 hogehoge.txt とすると、標準出力に変更した後の文字列が出てくる。 試す % head -1 mouse.c /* �}�E�X�֌W */ エンコーディングがutf-8じゃないので、ターミナル上で文字化けする。 iconvを使う。 先にエンコーディングフォーマットが存在することを確かめる % iconv -l | grep CP932 CP932 % iconv -l | …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb1u3.hateblo.jp%2Fentry%2F2018%2F12%2F28%2F102549&quot; title=&quot;コマンドラインからエンコーディングの変更 - いろんなことで四苦Hack（仮）&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-12-28 10:25:49</published>
  <title>コマンドラインからエンコーディングの変更</title>
  <type>rich</type>
  <url>https://b1u3.hateblo.jp/entry/2018/12/28/102549</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
