Project

General

Profile

Actions

Bug #13590

closed

Change max byte length of UTF-8 to 4 bytes to conform to definition of UTF-8

Added by duerst (Martin Dürst) almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-05-23 trunk 58852) [x86_64-cygwin]
[ruby-core:81342]

Description

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.


Related issues 2 (1 open1 closed)

Related to Ruby master - Feature #11094: Remove traces of 6-byte UTF-8Closed04/24/2015Actions
Related to Ruby master - Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_sizeFeedbackActions
Actions #1

Updated by duerst (Martin Dürst) almost 5 years ago

Actions #2

Updated by duerst (Martin Dürst) almost 5 years ago

  • Related to Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size added
Actions #3

Updated by duerst (Martin Dürst) almost 5 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF