<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>black-vinegar</author_name>
  <author_url>https://blog.hatena.ne.jp/black-vinegar/</author_url>
  <blog_title>備忘録のようなもの</blog_title>
  <blog_url>https://black-vinegar.hatenadiary.org/</blog_url>
  <categories>
    <anon>maven</anon>
  </categories>
  <description>ようやくmavenを本格的に利用することになり、環境構築を進めています。 その中で、文字化けの問題に躓いたので忘れないようにメモを取っておきます。 事象 maven compile実行中に日本語が文字化けする。 環境 lion Apache Maven 3.0.3 原因 terminalの文字コードがUTF-8、MavenとJavaの文字コードがSJISだったから。 対処法 mavenとJavaの文字コードをUTF-8する。 mavenの文字コード設定 pom.xmlにmaven-compiler-pluginを追加する。 &lt;plugin&gt; &lt;artifactId&gt;maven-compiler…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblack-vinegar.hatenadiary.org%2Fentry%2F20120211%2Fp1&quot; title=&quot;mavenで文字化けを解消するための備忘録 - 備忘録のようなもの&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-11 00:00:00</published>
  <title>mavenで文字化けを解消するための備忘録</title>
  <type>rich</type>
  <url>https://black-vinegar.hatenadiary.org/entry/20120211/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
