{ nsCAutoString temp(aText, aTextLen); textToSubURI->UnEscapeAndConvert("UTF-8", temp.get(), getter_Copies(text)); }
textToSubURI->UnEscapeAndConvert("UTF-8",  PromiseFlatCString(Substring(aText, aText + aTextLen)).get(), getter_Copies(text));
  searchTerm(const char* aDatasource, PRUint32 aDatasourceLen,             const char *aProperty, PRUint32 aPropertyLen,             const char* aMethod, PRUint32 aMethodLen,             const char* aText, PRUint32 aTextLen):    datasource(aDatasource, aDatasource+aDatasourceLen),    property(aProperty, aProperty+aPropertyLen),    method(aMethod, aMethod+aMethodLen)  {    MOZ_COUNT_CTOR(searchTerm);    nsresult rv;    nsCOMPtr<nsITextToSubURI> textToSubURI = do_GetService(NS_ITEXTTOSUBURI_CONTRACTID, &rv);    if (NS_SUCCEEDED(rv))    {      nsCAutoString temp(aText, aTextLen);      textToSubURI->UnEscapeAndConvert("UTF-8", temp.get(), getter_Copies(text));    }  }