Project

General

Profile

Bug #13590

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

Added by duerst (Martin Dürst) about 3 years ago. Updated about 3 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

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
#1

Updated by duerst (Martin Dürst) about 3 years ago

#2

Updated by duerst (Martin Dürst) about 3 years ago

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

Updated by duerst (Martin Dürst) about 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF