<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lirlia</author_name>
  <author_url>https://blog.hatena.ne.jp/lirlia/</author_url>
  <blog_title>フラミナル</blog_title>
  <blog_url>https://blog.framinal.life/</blog_url>
  <categories>
    <anon>Golang</anon>
    <anon>文字コード</anon>
  </categories>
  <description>結論 前提知識 Golangにおける文字の扱い runeについて 結論 runeはGoにおける型の1種類 rune型を用いることで、文字列を1文字づつ扱うことができる 前提知識 まず最初に文字コード(コードポインタ)や文字集合と符号化方式について理解しましょう。 こちらの記事にまとめておきました。 blog.framinal.life Golangにおける文字の扱い qiita.com この記事で詳しく書かれていますが、以下のようなコードを実行すると227 129 130が出力されます。 s := &quot;あ&quot; for i := 0; i &lt; len(s); i++ { b := s[i] // b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.framinal.life%2Fentry%2F2021%2F04%2F14%2F155015&quot; title=&quot;【Go】runeについて理解する(サンプルあり) - フラミナル&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>https://cdn-ak.f.st-hatena.com/images/fotolife/l/lirlia/20210321/20210321183729.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-14 15:50:15</published>
  <title>【Go】runeについて理解する(サンプルあり)</title>
  <type>rich</type>
  <url>https://blog.framinal.life/entry/2021/04/14/155015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
