<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>flying-foozy</author_name>
  <author_url>https://blog.hatena.ne.jp/flying-foozy/</author_url>
  <blog_title>彷徨えるフジワラ</blog_title>
  <blog_url>https://flying-foozy.hatenablog.com/</blog_url>
  <categories>
    <anon>mercurial</anon>
    <anon>hg-hack</anon>
    <anon>python</anon>
    <anon>i18n</anon>
    <anon>l10n</anon>
  </categories>
  <description>Mercurial のヘルプ表示に関しては、まずは「文字化けを無くす」ことが優先なのだけど、Python 標準の textwrap を使う限りでは(少なくとも日本語は)綺麗な行折り返しは実現できそうにないから、いずれは独自の行折り返し実装が必要になる感じ。標準 textwrap は: 空白文字区切りで「語」単位に分割 行長が表示幅を超えない範囲で「語」を行に順次取り込む 行長を超える「語」が出現した段階で、その行に関する取り込みを中断 「語」が表示幅(≠ 残スペース)よりも大きい場合にのみ、その語を分割して行に取り込む それ以外の場合、その「語」は次の行に取り込む という流れで処理をしているの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fflying-foozy.hatenablog.com%2Fentry%2F20100517%2F1274112619&quot; title=&quot; MBCS 文字列の折り返し - その 3 - 彷徨えるフジワラ&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-05-17 01:10:19</published>
  <title> MBCS 文字列の折り返し - その 3</title>
  <type>rich</type>
  <url>https://flying-foozy.hatenablog.com/entry/20100517/1274112619</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
