toString vs. toUtf8
    BCS 
    ao at pathlink.com
       
    Mon Nov 19 13:31:56 PST 2007
    
    
  
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.
    
    
More information about the Digitalmars-d
mailing list