<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Rust</anon>
  </categories>
  <description>環境 検証に使用した環境は，以下の通りです． Python 3.11.3 (main, Apr 11 2023, 16:14:10) [GCC 10.2.1 20210110] on linux rustc 1.68.2 (9eb3afe9e 2023-03-27) on linux 文字列を数える Python ならば len() 関数を使うだけです． &gt;&gt;&gt; len(&quot;りんご&quot;) 3 Rust では，文字列を表現するための&amp;str や String などの型があります．len() 関数も存在しますが，長さをバイトで表現するため，UTF8など可変長のエンコードを使用すると直感的ではない値が返…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F04%2F21%2F114612&quot; title=&quot;Rust と Python で文字数を数える - みーのぺーじ&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>2023-04-21 11:46:12</published>
  <title>Rust と Python で文字数を数える</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2023/04/21/114612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
