|
#include "nsMsgI18N.h"
---- nsString > nsCAutoString------
nsCAutoString utfNewName;
nsresult rv = CopyUTF16toMUTF7(PromiseFlatString(folderName), utfNewName);
NS_ENSURE_SUCCESS(rv, rv);
nsCString escapedFolderName;
MsgEscapeString(utfNewName, nsINetUtil::ESCAPE_URL_PATH, escapedFolderName);
----nsCAutoString > nsString ------
nsString unicodeNewName;
CopyMUTF7toUTF16(escapedFolderName, unicodeNewName);
NS_LITERAL_STRING("888 left on Server");
|
|