Support mapping the character set encoding properly so that codes from 0x80 to 0x9f get mapped into ucs2 properly
git-svn-id: svn://10.0.0.236/trunk@14185 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -179,6 +179,12 @@ PRBool CScanner::Append(const char* aBuffer, PRInt32 aLen){
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
PRBool CScanner::Append(const PRUnichar* aBuffer, PRInt32 aLen){
|
||||
mBuffer.Append(aBuffer,aLen);
|
||||
mTotalRead+=aLen;
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Grab data from underlying stream.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user