<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mi_mutsuki</author_name>
  <author_url>https://blog.hatena.ne.jp/mi_mutsuki/</author_url>
  <blog_title>あさっては曇りのち晴れ</blog_title>
  <blog_url>https://mi-mutsuki.hatenadiary.org/</blog_url>
  <categories>
    <anon>PC関連</anon>
  </categories>
  <description>メールの文字化けや添付されたテキストファイルの文字化け。たいていは文字コード云々で解決しますが、添付ファイルだけが文字化けして意味不明な記号列になっている、ファイルが破損しているようで読めない、という場合もあります。そんな場合でもテキスト系のファイルくらいならひょっとすると読めるかもしれないというお話。 メールにファイルを添付するときには、画像でも何でも決まった型式でテキストに変換して送信されています。今回対象とするのはMIME Base64でエンコードされていて、なんだかデータが乱れてしまっている場合。 やることは単純で、メールのソースを手でデコードしてあげます。手順はこのあたりを参照。 ま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmi-mutsuki.hatenadiary.org%2Fentry%2F20120216%2F1329420187&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>2012-02-16 04:23:07</published>
  <title>うまく表示できない添付ファイルが読めるかもしれない方法</title>
  <type>rich</type>
  <url>https://mi-mutsuki.hatenadiary.org/entry/20120216/1329420187</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
