diff --git a/mozilla/xpcom/ds/nsProperties.cpp b/mozilla/xpcom/ds/nsProperties.cpp index f0d83fbfbf7..bf23690b9bf 100644 --- a/mozilla/xpcom/ds/nsProperties.cpp +++ b/mozilla/xpcom/ds/nsProperties.cpp @@ -233,7 +233,12 @@ nsPersistentProperties::Load(nsIInputStream *aIn) PRInt32 c; nsresult ret; +#if 1 + nsString utf8("UTF-8"); + ret = NS_NewConverterStream(&mIn, nsnull, aIn, 0, &utf8); +#else ret = NS_NewConverterStream(&mIn, nsnull, aIn); +#endif if (ret != NS_OK) { #ifdef NS_DEBUG cout << "NS_NewConverterStream failed" << endl;