<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-oota-711</author_name>
  <author_url>https://blog.hatena.ne.jp/m-oota-711/</author_url>
  <blog_title>Kinaconの技術ブログ</blog_title>
  <blog_url>https://kinacon.hatenablog.com/</blog_url>
  <categories>
    <anon>ubuntu</anon>
  </categories>
  <description>Windowsで作成されたファイルはSIFT-JISコードが使用されている。 しかし、UbuntuではUTF-8コードが使用されており、 SIFT-JISコードで作成された文字（日本語）は文字化けする。そこで、nftパッケージをインストールして変換してあげる 対策 sudo apt install nftnft -g common.cpp #ファイルの文字コードの確認 Shift_JISnkf -w --overwrite common.cpp #文字コードをUtf-8に変換nft -g common.cpp #ファイルの文字コードの確認 UTF-8以上。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkinacon.hatenablog.com%2Fentry%2F2018%2F10%2F02%2F214826&quot; title=&quot;【Ubuntu】Windowsで作成されたファイルの文字化けを治す - Kinaconの技術ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/m-oota-711/20180824/20180824075049.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-02 21:48:26</published>
  <title>【Ubuntu】Windowsで作成されたファイルの文字化けを治す</title>
  <type>rich</type>
  <url>https://kinacon.hatenablog.com/entry/2018/10/02/214826</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
