<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yumimue</author_name>
  <author_url>https://blog.hatena.ne.jp/yumimue/</author_url>
  <blog_title>ひきメモ</blog_title>
  <blog_url>https://yumimue.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Pythonの文字列にはバイト文字列とUnicode文字列の二種類があります。 print &quot;ぱいそん&quot; # バイト文字列 =&gt; ぱいそん print u&quot;ぱいそん&quot; # Unicode文字列 =&gt; ぱいそん バイト文字列 バイト文字列はいわゆる普通の文字列で、指定された文字エンコーディングに従って変換されたバイト列です。ですから、同じ文字列でも文字エンコーディングが違うと、出力される結果は同じでも、内部的には違うデータです。 # encoding=shift_jis str = &quot;ぱいそん&quot; print str #=&gt; ぱいそん print [str] #=&gt; ['\x82\xcf\x82\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyumimue.hatenadiary.org%2Fentry%2F20071130%2F1196390305&quot; title=&quot;バイト文字列とUnicode文字列 - ひきメモ&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>2007-11-30 11:38:25</published>
  <title>バイト文字列とUnicode文字列</title>
  <type>rich</type>
  <url>https://yumimue.hatenadiary.org/entry/20071130/1196390305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
