toString vs. toUtf8

Lars Ivar Igesund larsivar at igesund.net
Mon Nov 19 13:40:44 PST 2007


BCS wrote:

> Reply to Sean,
> 
>> I was looking at converting Tango's use of toUtf8 to toString today
>> and ran into a bit of a quandry.
> [...]
>> 
>> Sean
>> 
> 
> why? What is to be gained by having tango us toString rather than toUTF*?
> IIRC there was a big thing, back when tango started using toUTF8 in place
> of toString, about how using toUTF8 would solve a number of these issues.
> If it is as part of the Phobos/Tango collaboration project, I think that
> is going the other way would be better (add toUTF8 to Phoboe's Object and
> an alias to make old things compile.

Ooh, that would be nice. Apparently toString is the only thing not up for
discussion at all on Walter's end.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list