<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n9d</author_name>
  <author_url>https://blog.hatena.ne.jp/n9d/</author_url>
  <blog_title>計算機と戯れる日々</blog_title>
  <blog_url>https://n9d.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>文字コードと改行コードを調べるときにはnkf --guess を使う。いつもhdかodで見てたんだがこりゃ便利だ。 $ cat a.txt a b c $ nkf --guess a.txt ASCII (LF) $ cat b.txt あ い う $ nkf --guess b.txt UTF-8 (LF) $</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn9d.hatenadiary.org%2Fentry%2F20071213%2F1197526154&quot; title=&quot;ファイルの文字コードと改行コードを調べる - 計算機と戯れる日々&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>2007-12-13 15:09:14</published>
  <title>ファイルの文字コードと改行コードを調べる</title>
  <type>rich</type>
  <url>https://n9d.hatenadiary.org/entry/20071213/1197526154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
