CopyUCS2toASCII( const nsAReadableString& aSource, nsAWritableCString& aDest )
CopyUCS2toASCII( const nsAString& aSource, nsACString& aDest )
CopyUCS2toASCII( const nsAReadableString& aSource, nsAWritableCString& aDest )  {      // right now, this won't work on multi-fragment destinations    aDest.SetLength(aSource.Length());    nsReadingIterator<PRUnichar> fromBegin, fromEnd;    nsWritingIterator<char> toBegin;    LossyConvertEncoding<PRUnichar, char> converter(aDest.BeginWriting(toBegin).get());        copy_string(aSource.BeginReading(fromBegin), aSource.EndReading(fromEnd), converter);  }