[ruby-core:81342] [Ruby trunk Bug#13590] Change max byte length of UTF-8 to 4 bytes to conform to definition of UTF-8

From: duerst@...
Date: 2017-05-23 09:11:40 UTC
List: ruby-core #81342
Issue #13590 has been reported by duerst (Martin D端rst).

----------------------------------------
Bug #13590: Change max byte length of UTF-8 to 4 bytes to conform to definition of UTF-8
https://bugs.ruby-lang.org/issues/13590

* Author: duerst (Martin D端rst)
* Status: Open
* Priority: Normal
* Assignee: duerst (Martin D端rst)
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-05-23 trunk 58852) [x86_64-cygwin]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
This seems to be a leftover of issue #11094.

Keeping the max byte length of UTF-8 at 6 seems to only potentially create some inconsistencies and inefficiencies, for no benefit.

I have assigned this issue to me, and will implement it in a few days unless I hear some significant counterarguments.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next