<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekoyukimmm</author_name>
  <author_url>https://blog.hatena.ne.jp/nekoyukimmm/</author_url>
  <blog_title>ねこゆきのメモ</blog_title>
  <blog_url>https://nekoyukimmm.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>flask</anon>
  </categories>
  <description>python3の場合、文字列は、うにこーどunicodeのコードポイントを並べたもの とのこと。 ようは、UTF-8のことらしい。 python2とは違うので注意！。 python2の例を参考するとはまる。 ファイルとかに書きだすということは、文字列をエンコードすることになる。 その１ 文字列strから、各文字コードのバイト列bytesにするencodeには下記。 In [1]: 'あ' Out[1]: 'あ' In [2]: s = 'あ' In [3]: type(s) Out[3]: str In [4]: s.encode('utf-8') Out[4]: b'\xe3\x81\x82…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F07%2F02%2F104732&quot; title=&quot;&amp;lt;Python&amp;gt; 文字コードのめも - ねこゆきのメモ&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>2016-07-02 10:47:32</published>
  <title>&lt;Python&gt; 文字コードのめも</title>
  <type>rich</type>
  <url>https://nekoyukimmm.hatenablog.com/entry/2016/07/02/104732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
