copy_string(aSource.BeginReading(), aSource.EndReading(), LossyConvertEncoding<PRUnichar, char>(result)).write_terminator();
nsReadingIterator<PRUnichar> fromBegin, fromEnd; LossyConvertEncoding<PRUnichar, char> converter(result); copy_string(aSource.BeginReading(fromBegin), aSource.EndReading(fromEnd), converter).write_terminator();
ToNewCString( const nsAReadableString& aSource )  {    char* result = AllocateStringCopy(aSource, (char*)0);    copy_string(aSource.BeginReading(), aSource.EndReading(), LossyConvertEncoding<PRUnichar, char>(result)).write_terminator();    return result;  }