From: Marnen Laibow-Koser Date: 2010-02-09T22:21:37+09:00 Subject: Re: Strings -- was: Re: Why Ruby? botp wrote: > on Tue, Feb 9, 2010 at 3:46 PM, Robert Klemme > wrote: > >> IMHO what 1.9 does better is the awareness of encoding. ... >> On one hand I can see how this all came about and class String is >> really versatile. > > agree. > >> On the other hand, it seems that String is growing >> overly complex. �Maybe Ruby 2.0 should be used to clean this up and >> really separate handling of binary and character data. > > can i disagree? i still like to think they are all strings. It's the > methods and their names that's difficult to implem. who say's binary > data were easy, if it were, wouldn't it be called string..? A string is composed of characters. Binary data is composed of bytes. They're two different things and should be supported as such in the language. > > best regards -botp Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.