<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s-ishigami</author_name>
  <author_url>https://blog.hatena.ne.jp/s-ishigami/</author_url>
  <blog_title>susumuis Info</blog_title>
  <blog_url>https://susumuis.hateblo.jp/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>ハマったので自分のためにまとめます。 JavaMailで普通にメールを送信すると「〜」や丸数字が文字化けします。 その対策についての調べた記事をまとめます。 x-windows-iso2022jpを使う http://www.igapyon.jp/igapyon/diary/2007/ig070427.htmlShift_JISに対するWindows31Jみたいなコードです。これを入れると文字化けが解消します。しかし、ユーザエージェント側がx-windows-iso2022jpを知らないという問題があり、下記Javaの起動オプションで回避するという手法が紹介されています。 -Dsun.nio.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsusumuis.hateblo.jp%2Fentry%2F20121005%2Fp1&quot; title=&quot; JavaMailで文字化けを防ぐ方法まとめ - susumuis Info&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-10-05 00:00:00</published>
  <title> JavaMailで文字化けを防ぐ方法まとめ</title>
  <type>rich</type>
  <url>https://susumuis.hateblo.jp/entry/20121005/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
