Temporary set charset to utf-8 until the coverter for escape-unicode is
ready. git-svn-id: svn://10.0.0.236/trunk@42518 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user