<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morning_reading</author_name>
  <author_url>https://blog.hatena.ne.jp/morning_reading/</author_url>
  <blog_title>毎朝30分読書会</blog_title>
  <blog_url>https://morning-reading.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>今日から第7章の続き、Java での文字列のソートと文字分割についてです 何も考えなければ Unicode 基準でのソートになる。英数字ひらがなカタカナくらいはともかく漢字は読み基準というわけではない微妙な結果になる Collator というのを使って言語毎に自然な(アクセント記号つき文字の位置とか)ソートをさせる仕組みがある 文字は char 毎に分割するとサロゲートペアや結合文字が分割されてしまって化ける BreakIterator というクラスを使って正しい文字区切り位置で分割できる仕組みがある。外部イテレーターとして使う Java についてはこれで終わり。明日からは Ruby 1.8 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorning-reading.hatenadiary.org%2Fentry%2F20100924%2Fp1&quot; title=&quot;プログラマのための文字コード技術入門 第7章「プログラミング言語と文字コード」その3 - 毎朝30分読書会&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-09-24 00:00:00</published>
  <title>プログラマのための文字コード技術入門 第7章「プログラミング言語と文字コード」その3</title>
  <type>rich</type>
  <url>https://morning-reading.hatenadiary.org/entry/20100924/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
