help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: [bug] UnicodeString encoding weirdness


From: Paolo Bonzini
Subject: [Help-smalltalk] Re: [bug] UnicodeString encoding weirdness
Date: Mon, 22 Oct 2007 02:25:21 -0700

Issue status update for http://smalltalk.gnu.org/project/issue/113 Post a follow up: http://smalltalk.gnu.org/project/comments/add/113

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
-Assigned to:  Unassigned
+Assigned to:  bonzinip
Reported by:  elmex
Updated by:   bonzinip
-Status:       active
+Status:       fixed

fixed in patch-612, which is the same patch I posted plus this testcase

 str := EncodedString fromString: (String new: 2) encoding: 'UTF-16'.
 str valueAt: 1 put: 254; valueAt: 2 put: 255.
 self assert: str numberOfCharacters = 0.
 str valueAt: 1 put: 255; valueAt: 2 put: 254.
 self assert: str numberOfCharacters = 0

Thanks!






reply via email to

[Prev in Thread] Current Thread [Next in Thread]