Fix for 68224. /r=ftang, /sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@88271 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
baab453654
commit
c29af6c4a4
@ -535,14 +535,14 @@ NS_DECLARE_ID(kUnicodeToVPSCID,
|
||||
NS_DECLARE_ID(kUnicodeToUTF7CID,
|
||||
0x77cfaaf2, 0x1cf4, 0x11d3, 0x8a, 0xaf, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36);
|
||||
#define NS_UNICODETOUTF7_CID \
|
||||
{ 0x77cfaaf2, 0x1cf4, 0x11d3, {0x8a, 0xac, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
|
||||
{ 0x77cfaaf2, 0x1cf4, 0x11d3, {0x8a, 0xaf, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
|
||||
|
||||
// Class ID for our UnicodeToMUTF7 charset converter
|
||||
// {B57F97C2-0D70-11d3-8AAE-00600811A836}
|
||||
NS_DECLARE_ID(kUnicodeToMUTF7CID,
|
||||
0xb57f97c2, 0xd70, 0x11d3, 0x8a, 0xae, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36);
|
||||
#define NS_UNICODETOMUTF7_CID \
|
||||
{ 0xb57f97c2, 0xd70, 0x11d3, {0x8a, 0xac, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
|
||||
{ 0xb57f97c2, 0xd70, 0x11d3, {0x8a, 0xae, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
|
||||
|
||||
// Class ID for our CP1255ToUnicode charset converter
|
||||
// {BA6151A1-1DFA-11d3-B3BF-00805F8A6670}
|
||||
|
||||
@ -318,5 +318,13 @@ PRBool nsUnicodeToUTF7::DirectEncodable(PRUnichar aChar) {
|
||||
else if (aChar == 9) return PR_TRUE;
|
||||
else if (aChar == 13) return PR_TRUE;
|
||||
else if (aChar == 10) return PR_TRUE;
|
||||
else if (aChar == 60) return PR_TRUE; // '<'
|
||||
else if (aChar == 33) return PR_TRUE; // '!'
|
||||
else if (aChar == 34) return PR_TRUE; // '"'
|
||||
else if (aChar == 62) return PR_TRUE; // '>'
|
||||
else if (aChar == 61) return PR_TRUE; // '='
|
||||
else if (aChar == 59) return PR_TRUE; // ';'
|
||||
else if (aChar == 91) return PR_TRUE; // '['
|
||||
else if (aChar == 93) return PR_TRUE; // ']'
|
||||
else return PR_FALSE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user