[bug] asUnicodeString failure on empty String

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] asUnicodeString failure on empty String

Robin Redeker-2
Issue status update for
http://smalltalk.gnu.org/node/106
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/106

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

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




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] asUnicodeString failure on empty String

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

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  elmex
 Updated by:   bonzinip
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/gst-empty-string-iconv.patch (1.81 KB)

fixed in patch-609, see attached patch too




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk