<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>piro_suke</author_name>
  <author_url>https://blog.hatena.ne.jp/piro_suke/</author_url>
  <blog_title>ほんじゃーねっと</blog_title>
  <blog_url>https://blog.honjala.net/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>指定フォルダ内の全ファイルについて、文字コードを自動判定して読み込み、 UTF-8に変換して保存するカスタムタスクを作成する。 文字コード自動判定については、下記のページでJcode.pmを参考にした関数が 紹介されているので、そちらを使わせていただく。 http://dobon.net/vb/dotnet/string/detectcode.html 紹介されているGetCode関数を、UtilsフォルダにJcode.csとして保存したとする。 作ったタスクはこんな感じ。 文字コードがShift_JISかEUC-JPの場合のみUTF-8に変換するようにしてる。 using System; u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.honjala.net%2Fentry%2Fblog%2F2011%2F07%2F06%2F201107061309879412%2F&quot; title=&quot;指定したフォルダ内のファイルの文字コードをUTF-8に変換するタスク - ほんじゃーねっと&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>2011-07-06 00:23:32</published>
  <title>指定したフォルダ内のファイルの文字コードをUTF-8に変換するタスク</title>
  <type>rich</type>
  <url>https://blog.honjala.net/entry/blog/2011/07/06/201107061309879412/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
