asUnicodeString failure on empty String
By Robin Redeker - Posted on October 19th, 2007
Tagged: 2.95d
| Project: | GNU Smalltalk |
| Component: | Base classes |
| Category: | bug |
| Priority: | normal |
| Assigned: | bonzinip |
| Status: | fixed |
Description
This is the backtrace I get:
st> PackageLoader fileInPackage: #I18N!
st> '' asUnicodeString
Object: nil error: did not understand #asInteger
MessageNotUnderstood(Exception)>>signal
UndefinedObject(Object)>>doesNotUnderstand: #asInteger
I18N.Encoders.ComposeUTF32LE>>next
Kernel.PeekableStream>>peekFor:
Kernel.PeekableStream(Stream)>>peekFor:
I18N.EncodedStream class>>unicodeOn:encoding:
I18N.EncodedStream class>>unicodeOn:
String(CharacterArray)>>asUnicodeString
UndefinedObject>>executeStatements
nil
Updates
#1 submitted by Paolo Bonzini on Fri, 10/19/2007 - 17:59
| Attachment: | gst-empty-string-iconv.patch (1.81 KB) |
fixed in patch-609, see attached patch too
#2 submitted by Paolo Bonzini on Fri, 10/19/2007 - 18:00
| Assigned to: | Unassigned | » bonzinip |
| Status: | active | » fixed |
