Bug #5543

Fix hazard implenentation of EString.implode(Object[])

Added by Tuukka Lehtonen over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2014-12-11
Priority:4Due date:2015-01-16
Assignee:Tuukka Lehtonen% Done:

100%

Category:UtilsSpent time:-
Target version:1.18.1
Release notes:Developers: Fixed hazardous implementation fo EString.implode(Object[]) that did not take character sets properly into account.
Tags: utility
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

The implementation works with byte[] encoded from Strings and does not take multibyte characters into account.

Switch to use char[] results without encoding.

Associated revisions

Revision 30671
Added by Tuukka Lehtonen over 2 years ago

Fixed EString.implode(Object[]) to work properly with multi-byte characters and to not insert a trailing '\n' in all imploded strings, since it did not do this before it was converted to use byte[] construction.

refs #5543

History

#1 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from Resolved to Closed

#3 Updated by Tuukka Lehtonen over 2 years ago

  • Release notes set to Developers: Fixed hazardous implementation fo EString.implode(Object[]) that did not take character sets properly into account.

Also available in: Atom PDF