<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sile</author_name>
  <author_url>https://blog.hatena.ne.jp/sile/</author_url>
  <blog_title>sileのブログ</blog_title>
  <blog_url>https://sile.hatenablog.jp/</blog_url>
  <categories>
    <anon>sbcl</anon>
    <anon>common lisp</anon>
    <anon>algorithm</anon>
  </categories>
  <description>DoubleArray(トライの一種)を利用して、マルチバイト文字列をユニコード文字列にある程度自動的に変換する、という試み(?)。 ちゃんとした形に整理するほどの気力はないので、一応動く程度のソースコードと覚え書きを残しておくことにする。 やること＆概要 マルチバイト文字列からユニコード文字列への変換を(エンコード形式に依存せずに)自動的に行えるようにする。そのための手順(の概要)は以下の通り。 ユニコード文字と(特定のエンコード形式の)バイト列の対応を何らかの方法で所得する。 今回は、SBCLのsb-ext:string-to-octets関数を使って、両者の対応を取得することにする。 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsile.hatenablog.jp%2Fentry%2F20100425%2F1272205217&quot; title=&quot;マルチバイト文字列→ユニコード文字列 - sileのブログ&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>2010-04-25 23:20:17</published>
  <title>マルチバイト文字列→ユニコード文字列</title>
  <type>rich</type>
  <url>https://sile.hatenablog.jp/entry/20100425/1272205217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
