https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2015-04-25T04:42:44Z
Ruby Issue Tracking System
Ruby master - Feature #11094: Remove traces of 6-byte UTF-8
https://bugs.ruby-lang.org/issues/11094?journal_id=52240
2015-04-25T04:42:44Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>File</strong> <a href="/attachments/5187">0001-enc-utf_8.c-pack.c-limit-UTF-8.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5187/0001-enc-utf_8.c-pack.c-limit-UTF-8.patch">0001-enc-utf_8.c-pack.c-limit-UTF-8.patch</a> added</li></ul><p>And <code>pack("U")</code> and <code>unpack("U")</code>?</p>
<p>Also rubyspec seems to fail.</p>
<pre><code>Array#pack with format 'U' encodes values larger than UTF-8 max codepoints ERROR
RangeError: pack(U): value out of range
</code></pre>
Ruby master - Feature #11094: Remove traces of 6-byte UTF-8
https://bugs.ruby-lang.org/issues/11094?journal_id=52250
2015-04-25T22:37:26Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r50392.</p>
<hr>
<p>enc/utf_8.c: limit UTF-8</p>
<ul>
<li>enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger<br>
than UTF-8 max codepoints. [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Remove traces of 6-byte UTF-8 (Closed)" href="https://bugs.ruby-lang.org/issues/11094">#11094</a>]</li>
</ul>
Ruby master - Feature #11094: Remove traces of 6-byte UTF-8
https://bugs.ruby-lang.org/issues/11094?journal_id=63723
2017-03-22T06:14:52Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/13353">Bug #13353</a>: Backport stringio fixes</i> added</li></ul>
Ruby master - Feature #11094: Remove traces of 6-byte UTF-8
https://bugs.ruby-lang.org/issues/11094?journal_id=65036
2017-05-23T09:11:56Z
duerst (Martin Dürst)
duerst@it.aoyama.ac.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/13590">Bug #13590</a>: Change max byte length of UTF-8 to 4 bytes to conform to definition of UTF-8</i> added</li></ul>
Ruby master - Feature #11094: Remove traces of 6-byte UTF-8
https://bugs.ruby-lang.org/issues/11094?journal_id=65038
2017-05-23T09:12:22Z
duerst (Martin Dürst)
duerst@it.aoyama.ac.jp
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-7 priority-4 priority-default closed" href="/issues/13588">Feature #13588</a>: Add Encoding#min_char_size, #max_char_size, #minmax_char_size</i> added</li></ul>