rv = InitFontEncodingProperties();
nsresult rv = InitFontEncodingProperties();
GetEncoding(const nsString& aFontName, PRUnichar** aValue){  // see if we should init the property  if (! gFontEncodingProperties) {    // but bail out for common fonts used at startup...    nsCAutoString fontName;    fontName.AssignWithConversion(aFontName);    // this is "MS P Gothic" in Japanese    static const char* mspgothic =      "\x82\x6c\x82\x72 \x82\x6f\x83\x53\x83\x56\x83\x62\x83\x4e";    if ( (!strcmp(fontName.get(), "Tahoma" )) ||         (!strcmp(fontName.get(), "Arial" )) ||         (!strcmp(fontName.get(), "Times New Roman" )) ||         (!strcmp(fontName.get(), "Courier New" )) ||         (!strcmp(fontName.get(), mspgothic )) )      return NS_ERROR_NOT_AVAILABLE; // error mean do not get a special encoding    // init the property now    rv = InitFontEncodingProperties();    if NS_FAILED(rv)      return rv;  }  nsAutoString name;  name.Assign(NS_LITERAL_STRING("encoding."));  name.Append(aFontName);  name.Append(NS_LITERAL_STRING(".ttf"));  name.StripWhitespace();  ToLowerCase(name);  return gFontEncodingProperties->GetStringFromName(name.get(), aValue);}