<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hikm</author_name>
  <author_url>https://blog.hatena.ne.jp/hikm/</author_url>
  <blog_title>hikm's blog</blog_title>
  <blog_url>https://hikm.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>はじめに Pythonで日本語を扱おうとすると「UnicodeDecodeError」、「UnicodeEncodeError」に悩まされるというのをよく聞きます。 私自身もこれまではエラーが発生してもなんとなく曖昧な理解で乗り切ってきましたが、以下の記事を読んで色々と調べたら自分なりにスッキリしたので、整理した内容についてサンプルコードを交えながらまとめたいと思います。 UnicodeDecodeError/UnicodeEncodeErrorに悩まないPython 2.x プログラミング なお、以下の説明はPython2.xを対象とした内容になっています（基本的な考え方はPython3でも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhikm.hatenablog.com%2Fentry%2F20130328%2F1364492471&quot; title=&quot;PythonのUnicodeDecodeError、UnicodeEncodeErrorを正しく理解する - hikm&amp;#39;s blog&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>2013-03-28 02:41:11</published>
  <title>PythonのUnicodeDecodeError、UnicodeEncodeErrorを正しく理解する</title>
  <type>rich</type>
  <url>https://hikm.hatenablog.com/entry/20130328/1364492471</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
