<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moxtsuan</author_name>
  <author_url>https://blog.hatena.ne.jp/moxtsuan/</author_url>
  <blog_title>How to spend the terminal</blog_title>
  <blog_url>https://moxtsuan.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>nkfという今年で30周年になる古いソフトがあります。nkfでは文字コードを変換することができます。 nkfには様々な機能がありますが、次の3点を満たすものをGo言語で作ってみました。 文字コードを変換する(ISO-2022-JP、Shift_JIS、EUC-JP、UTF-8) 文字コードを判定する 改行コードを変換する(UNIXはLF、WindowsはCRLF、MacintoshはCR) 文字コードを変換する 文字コードの変換は以下の記事を参考にしました。というか丸コピ qiita.com 文字コードを判定する 文字コードの判定はchardetを使用しました。chardetは文字コードを判定…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoxtsuan.hatenablog.com%2Fentry%2Fnkf-go&quot; title=&quot;Go言語でnkfみたいなやつ - How to spend the terminal&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>2017-07-14 11:00:00</published>
  <title>Go言語でnkfみたいなやつ</title>
  <type>rich</type>
  <url>https://moxtsuan.hatenablog.com/entry/nkf-go</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
