<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeru-c</author_name>
  <author_url>https://blog.hatena.ne.jp/takeru-c/</author_url>
  <blog_title>パンプキンスパイスラテ</blog_title>
  <blog_url>https://pumpkin.hatenablog.jp/</blog_url>
  <categories>
    <anon>XHTML</anon>
  </categories>
  <description>XHTMLのinput要素の「maxlength」はユーザーが入力できる文字数を制限してくれるものなのだけれど、safariだとおかしな現象が起きてしまう。 半角英数字なら問題ないが、日本語を文字数以上入力すると「maxlength」が効いてくれずに入力できてしまう。 コピペではダメなので、文字を入力して変換せずに確定すると再現できる。 ↓サンプルを作ったのでお試しください。 http://hachikun.com/blog_sample/maxlength.php さらにひどいことに、safari内部では「maxlength」の長さで切られているらしく、POSTしたりする時は「maxleng…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20091128%2F1259368216&quot; title=&quot;safariの日本語処理がひどい - パンプキンスパイスラテ&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>2009-11-28 09:30:16</published>
  <title>safariの日本語処理がひどい</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20091128/1259368216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
