<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>SedimentHydraulics</author_name>
  <author_url>https://blog.hatena.ne.jp/SedimentHydraulics/</author_url>
  <blog_title>趣味で計算流砂水理 Computational Sediment Hydraulics for Fun Learning </blog_title>
  <blog_url>https://computational-sediment-hyd.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>WSL2上のUbuntu18.04で、フォルダ内の全てのcsvファイルの文字コードをUTF-8→ShiftJISに変更する 場合は、nkfを使う以下の方法が一番楽かも。 #!/bin/sh files=&quot;*.csv&quot; for filepath in ${files} do echo $filepath nkf -s --overwrite $filepath #変更して上書き nkf -g $filepath #確認のため文字コードを出力 done 参考サイトは以下 nkfで文字コード変換 - Qiita よく使うシェルスクリプト - Qiita</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputational-sediment-hyd.hatenablog.jp%2Fentry%2F2022%2F03%2F30%2F210000&quot; title=&quot;備忘録：csvファイルの文字コードを一括で変更（UTF-8→ShiftJIS）するスクリプト - 趣味で計算流砂水理 Computational Sediment Hydraulics for Fun Learning &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>2022-03-30 21:00:00</published>
  <title>備忘録：csvファイルの文字コードを一括で変更（UTF-8→ShiftJIS）するスクリプト</title>
  <type>rich</type>
  <url>https://computational-sediment-hyd.hatenablog.jp/entry/2022/03/30/210000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
