<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomcky</author_name>
  <author_url>https://blog.hatena.ne.jp/tomcky/</author_url>
  <blog_title>Tomcky's blog</blog_title>
  <blog_url>https://tomcky.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Vim</anon>
  </categories>
  <description>Macを使っていると、Windowsな人から送られてきたCSVを開いたときに文字化けしててツライ、的なことがよくあるので、備忘録的によく使う対処方法をまとめておく。 Vimで立ち向かう :e で文字コードを指定して開き直してやる。 :e ++enc=cp932 このまま編集して保存すると指定した文字コードで保存される。 ちなみに :set enc? でVimの内部で使われる文字コードが、 :set fenc? でファイルの文字コードが確認できる。 注意したいのは、:set fenc? は文字化けしている状態だと fileencoding=latin1 などと表示され、うまく機能しない。 また …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomcky.hatenadiary.jp%2Fentry%2F2018%2F01%2F14%2F002830&quot; title=&quot;文字化けに立ち向かう - Tomcky&amp;#39;s blog&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-01-14 00:28:30</published>
  <title>文字化けに立ち向かう</title>
  <type>rich</type>
  <url>https://tomcky.hatenadiary.jp/entry/2018/01/14/002830</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
